Groups
Sign in
Groups
Ruby on Rails: Talk
Conversations
About
Send feedback
Help
no implicit conversion of Symbol into Integer
180 views
Skip to first unread message
fugee ohu
unread,
Oct 21, 2019, 6:35:37 PM
10/21/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ruby on Rails: Talk
error is caused by line 4
1 <% @item_properties.each do |ip| %>
2 <div class="field">
3 <%= f.label "#{
ip.name
}".downcase %>
4 <%= f.text_area [:item][:item_item_property][ip.name.downcase.to_sym] %>
5 </div>
6 <% end %>
Rob Jonson
unread,
Oct 22, 2019, 12:45:03 PM
10/22/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ruby on Rails: Talk
yup - sounds like you have nailed that one.
As you say; The error here is in trying to implicitly convert a symbol into an integer.
Isn't it great how Rails (ruby) helps you out.
Reply all
Reply to author
Forward
0 new messages