bug in sortable_element_js regarding options[:method] ?

2 views
Skip to first unread message

David Lowenfels

unread,
Sep 14, 2008, 9:01:37 PM9/14/08
to jRails
Hello,
I'm new to jrails, so far I think it's pretty cool.
I encountered some weirdness because one of my routes is expecting a
PUT when I do a sortable drop. This is the RESTful convention, since
I'm updated the data, not creating it.
The code in jrails.rb line 362 clobbers the options[:method], instead
I think it should ||= it like so: options[:method] ||= "post"

Thanks,
David

Aaron

unread,
Sep 15, 2008, 7:07:48 PM9/15/08
to jRails
fixed :)
Reply all
Reply to author
Forward
0 new messages