Re: [Rails] undefined method `symbolize_keys' for

2014-11-10 Thread Rob Biedenharn
On 2014-Nov-10, at 16:17 , Dave Castellano wrote: > Dave Aronson wrote in post #1162130: >> >> >> Try fixing the "src=" bit. That's HTML, not Ruby. >> > <%= link_to(image_tag asset_path("#{subject.icon}" + '.png'), > index_books_path(:subject_id => subject.id)) %> still throws same error.

Re: [Rails] undefined method `symbolize_keys' for

2014-11-10 Thread Dave Aronson
On Monday, November 10, 2014, Dave Castellano wrote: I am getting the error: > undefined method `symbolize_keys' for "/contents/index_books/13":String > > for the following: > > <%= link_to(image_tag src= asset_path("#{subject.icon}" + '.png'), > index_books_path(:subject_id => subject.id)) %>

[Rails] undefined method `symbolize_keys' for

2014-11-10 Thread Dave Castellano
Hi, I am getting the error: undefined method `symbolize_keys' for "/contents/index_books/13":String for the following: <%= link_to(image_tag src= asset_path("#{subject.icon}" + '.png'), index_books_path(:subject_id => subject.id)) %> I understand that a hash is expected and a string is being f