Displaying 2 results from an estimated 2 matches for "nameofcontrol".
2006 Jan 21
3
Passing ruby variable via remote_function (JavaScript)
...if I
hard code in a string in place of $localVariable, but I don''t want to do
that. The variable is being sent as the name of the variable and not its
contents. Do I need to escape something???
<% remote_function(:update => :name_of_div,
:url => { :controller => ''nameOfController'',
:action => :nameOfAction },
:with => "''InputVariable='' + $localVariable") %>
My question is, how do I get the $localVariable to convert to its
content within the above?
Thanks for any help.
--
Posted via http://www.ruby-forum.com/.
2010 Oct 07
5
ActionController::RoutingError (No route matches "")
ActionController::RoutingError (No route matches "/atweet"):
Unsure on why routing to my view isn''t working. controller appears to be
functioning, however the view isn''t work, when I attempt to go to it,
this happens... sniff... sniff.... help???
I don''t get routes.rb in rails...
--
Posted via http://www.ruby-forum.com/.
--
You received this message