Displaying 1 result from an estimated 1 matches for "votescontroller".
Did you mean:
notescontroller
2011 Jan 15
3
respond_with javascript
...d_with. For my
Votes, I have the create action and the corresponding create.js.erb,
and respond_to :html, :js, :xml in the controller. Heres the log when
I try and create a vote:
Started POST "/stories/3-asdfasdf1111/votes" for 127.0.0.1 at Fri Jan
14 20:46:36 -0800 2011
Processing by VotesController#create as */*
Parameters: {"story_id"=>"3-asdfasdf1111"}
SQL (1.9ms) SHOW TABLES
SQL (2.0ms) SHOW TABLES
SQL (2.5ms) SHOW TABLES
User Load (2.4ms) SELECT `users`.* FROM `users` WHERE (`users`.`id`
= 3) LIMIT 1
CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE...