I wonder how the rest of your code works. If you try the following in
irb, you will realize the issue.

$ irb1.8
irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> require 'active_support'
=> true
irb(main):003:0> 'Affilie'.pluralize
=> "Affilies"
irb(main):004:0> 'Affilie'.pluralize.singularize
=> "Affily"

So ideally, your model class should have been named Affily instead of
Affilie. Anyways, if you want to keep using the current name, you can
override AS by creating the following method in your controller. Let
us know, if this does not work.

def model
  Affilie
end

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to