link-to
assigning parameters to a model in a link_to helper
if am trying to pass a parameter 开发者_StackOverflowthrough a link and assign it to a specific model. here is the code i\'m working with:[详细]
2023-03-14 22:05 分类:问答In a Rails app, how can I make a link load in a div as opposed to refreshing the whole page?
I\'m still a beginner at web development.It\'s not my profession.So go easy. I started building a rails app today, and realized it would make my application so much better if I could get certain link[详细]
2023-03-14 04:53 分类:问答How to add parameter to delete link?
I have a standard delete link, and want to add a parameter to it: <%= link_to \"Delete\", item, :confirm => \'Are you sure?\', :method => :delete, :foo => 1 %>[详细]
2023-03-13 23:53 分类:问答Problem passing params from view to controller in Ruby On Rails
I am new to ROR and am trying to pass two variables from two fields in a view to a controller to generate a dataset for an excel export.The excel export works, however all I get are headers and no dat[详细]
2023-03-12 21:07 分类:问答Rails acts_as_taggable_on Tag Link Filtering
I have a list of \'notes\', and each note has some tags via acts_as_taggable_on. It\'s a great plugin, and the tags are working wonderfully.[详细]
2023-03-10 10:46 分类:问答How to put a link into an h1 with haml in rails?
Hi :) I\'m new to haml and wa开发者_C百科nt something like this: %h1 =link_to \"Home\" :root How could I realize this? Hope you can help me with this :)Try this:[详细]
2023-03-08 21:00 分类:问答Problems with "link_to"
NEW EDITING With resources :cases in the routes.rb all these routing helpers work as expected (c is an instance of the model Case):[详细]
2023-03-08 02:13 分类:问答Rails button_to or link_to image
Noob with some help needed.I am creating a chore chart for my children which should look like a online version of:[详细]
2023-03-04 22:14 分类:问答No Route error when passing parameters through link_to
Error: No route matches {:action=>\"new\", :controller=>\"comments\", :parent_id=>1} routes.rb:[详细]
2023-03-04 19:58 分类:问答Rails: Display an clickable image, and pass parameters
Essentially I\'m dealing with 3 things: (*the first 2 work) An Action called Index(), which accepts a user_id parameter.[详细]
2023-03-03 06:22 分类:问答
加载中,请稍侯......