Jodi wrote:
> Any suggestions on how to iterate over attr_accessors (plus all other
> ''real'' db attributes?).
>
> model.attributes doesn''t, and model.methods isn''t
revealing anything
> usefull.
Have a look about half-way down this page:
http://wiki.rubyonrails.org/rails/pages/HowToStripWhitespaceFromModelFields
--
We develop, watch us RoR, in numbers too big to ignore.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---