Ruby on Rails
Wednesday, November 4, 2015
I researched a lot. If I would like to be here if it helps if you have a way of knowing. I leave here the research anyway ... I think there are communities for it. You did me so much that I wrote.
4 Kasım 2015 Çarşamba 14:50:03 UTC+2 tarihinde Colin Law yazdı:
-- 4 Kasım 2015 Çarşamba 14:50:03 UTC+2 tarihinde Colin Law yazdı:
On 4 November 2015 at 12:28, Emrah Yıldırım <emrah....@gmail.com> wrote:
> 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?
f.text_field: attribute
Is not valid ruby syntax. There should not be a : immediately after text_field.
Have you worked right through the railstutorial.org tutorial as was
suggested by more than one person the last time you asked a question
here?
Colin
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/3c940502-0614-46a6-b468-3941b9133323%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment