You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm considering using this gem but I don't know if this is possible to do:
classPersonincludeActiveAttr::Attributesattribute:first_nameattribute:last_name# we retreive data from the database with ActiveRecordLanguages.all.eachdo |lang|
attribute:"name_#{lang.name}",type: Stringendendperson=Person.newperson.first_name="Chris"person.last_name="Griego"person.name_english="Christian"person.name_spanish="Cristian"person.attributes#=> {"first_name"=>"Chris", "last_name"=>"Griego", "name_english" => "Christian", "name_spanish" => "Cristian"}
Hello, I'm considering using this gem but I don't know if this is possible to do:
I don't know if this is it: #6
The text was updated successfully, but these errors were encountered: