Reflection And Displaying Forms

Hi All,

In the rails documentation of ActiveRecord::Reflection::ClassMethods,
talking about the reflection class, it says “This information can, for
example, be used in a form builder that took an Active Record object and
created input fields for all of the attributes depending on their type
and displayed the associations to other objects.” I would like to do
just that but I was wondering if there were any examples already
available (why re-invent the wheel).

– I’m sure someone has asked a similar question but I couldn’t think of
a search to find it. TIA


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs