rajasekar98 / gmail.com wrote: > Hi, > > I'm just a beginner in Ruby. > Have just installed Rails and Gems. > I am using SQLite3 as the db. > > When going thro the "CookBook" tutorial. > after creating the recipes table in the sqlite3 database. > and changing the config file - database.yml as > ... > > I'm getting the following error > > <Error> > ActiveRecord::StatementInvalid in RecipeController#new > > ActiveRecord::StatementInvalid > RAILS_ROOT: ./script/../config/.. > > Show session dump > > --- > flash: !map:ActionController::Flash::FlashHash {} > > Response > Headers: {"cookie"=>[], "Cache-Control"=>"no-cache"} > </error> > > Could anybody tell me, where i am going wrong?? > > Thanks in advance. > May be this will help: http://code.whytheluckystiff.net/camping/wiki/BeAlertWhenOnSqlite3 Using SQLite with Rails is a little bit tricky. But really just a little bit. Happy Rubying Stephan