I have a class named Source and a controller named SourceController
etc.
When I use Source.column_names in the view all names except names
ending in _id is listed, although according to the documentation all
names should be listed
When I use Source.column_names in the source controller it lists
correctly all names also the ones ending in id.
When I first call Source.column_names in the controller then it lists
all names also in the view when I use Source.column_names.
Is this a bug in rails ?
Is the calls Source reserved ?
Has anyone had the same problem ?
Is there anyway to solve this problem in a better way than the fisx I
use by first calling Source.column_names in the controller ?
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---