Ruby on Rails Wednesday, November 4, 2015

Hi,

rails g scaffold gform name:string attribute:string value:string

I need to use the attribute column. But I get ActiveRecord error. I solved this by safe_attibut gem. This time the "wrong number of arguments (0 for 1)" I received the warning. Error in <% = f.text_field: attribute%> show this line. The solution to this series?

Respects

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/0f82eddb-b1ac-4dff-bf40-9244e1764d24%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment