Re: [Rails] #link_to is throwing error - ArgumentError: arguments passed to url_for can't be handled.

2015-02-19 Thread Arup Rakshit
On Wednesday, February 18, 2015 11:27:47 PM tamouse pontiki wrote: If I call link_to with helper like you are from rails console (running pry-rails), I get the same error. But when I put it into a view, it works Thanks. Then I'll create an issue ticket for this. --

[Rails] #link_to is throwing error - ArgumentError: arguments passed to url_for can't be handled.

2015-02-18 Thread Arup Rakshit
Hi, I have the below resource table Comment controller : [arup@app]$ rake routes | grep comments commentsGET/comments(.:format) comments#index POST /comments(.:format) comments#create new_comment GET/comments/new(.:format)

Re: [Rails] #link_to is throwing error - ArgumentError: arguments passed to url_for can't be handled.

2015-02-18 Thread tamouse pontiki
If I call link_to with helper like you are from rails console (running pry-rails), I get the same error. But when I put it into a view, it works On Wed, Feb 18, 2015 at 10:42 AM, Arup Rakshit tuka...@gmail.com wrote: Hi, I have the below resource table Comment controller : [arup@app]$