On Apr 6, 7:23 am, Phlip <[email protected]> wrote: > > It also expects to convert between CamelCase and under_scored so if > > your model is AggregationFeedMap, the file defining it should be app/ > > models/aggregation_feed_map.rb and the table name should be > > aggregation_feed_maps and the fixture found in test/fixtures/ > > aggregation_feed_maps.yml > > Further, this command line... > > script/generate model aggregation_feed_map > > ...should have set everything up correctly for you. Where'd these fixtures > come > from?
In my case I have a model named LppBase. Pluralize becomes lpp_bases. But if you singularize it back, it became lpp_basis. So, I had to add an entry in the inflections file. FYI: I debugged this by getting in to script/console and then executing: "lpp_bases".pluralize.singularize HTH --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

