Hi MaD, Tried it but same result.
>> Post => Post(ida2a2: integer, title: string, body: text, published: boolean, created_at: datetime, updated_at: datetime) >> Post.new(:title => "First Post", :body => "jsust a test i").save => true >> Post.first => #<Post ida2a2: nil, title: "First Post", body: "jsust a test i", published: nil, created_at: "2008-12-24 10:00:50", updated_at: "2008-12-24 10:00:50"> Hope I am not missing something obvious here. BTW I am using sqllite. I have made only 2 changes after generating the model. 1.) :id => false for post table 2.) In post.rb added set_primary_key :ida2a2 But the same issue occurs again & again. Thanks, Sudhakar.M --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

