Displaying 2 results from an estimated 2 matches for "minisect".
Did you mean:
minisat
2011 Aug 29
7
:onchange in rails 3
Hi,
Anybody know why :onchange works here...
<%= select_tag "Minisections",
options_from_collection_for_select(@minisections, :id, :title, :selected
=> @minisection.id), {:onChange => "{alert(''Minisection has been changed
to x !'')}"} %>
but NOT here (to call a function)...
<script type="text/javascript">
f...
2012 Feb 12
3
Rails routes - destroy
Can''t figure out how duplicate routes are differentiated by rails ...
Read routing from inside out and API as well as a few tutorials but
still don''t get it!!! For example...
routes.rb
resources :minisections do
resources :questions
end
rake routes:
minisection_question GET
/minisections/:minisection_id/questions/:id(.:format)
questions#show
PUT
/minisections/:minisection_id/questions/:id(.:format)
questions#update
DELE...