ruby on rails - Options for running controller method from view -
ruby on rails 3.2: made table, model , controller. want run "new" method in controller. off top of head can think of form run method. other options there run controller methods?
in particular run "new" method when viewing view files. thank you
well, can add new action link, use form, , call action using ajax. other alternative other violate mvc.
Comments
Post a Comment