What I have is a structure like Account.profile.biography.profession.
Profile, and biography are methods that return the object for that
account, but I am running into the below issue when I try to use the
text_field(:account, “profile.biography.profession”) I get:
undefined method `profile.biography.profession’ for #
So, is there any way I can use this to access more than one level of
methods of an object?
Doing text_field(:account, “profession”) works just fine as long as I
create methods in the Account model like:
But that seems really hacky and unnecessary, does anyone have any