Top "Link-to" questions

link_to is the method in Ruby on Rails that is used to create link tags within views.

Rails link_to assigning class and id

<%= link_to event do %> #bunch of stuff making up the partial. <% end %> So I'm trying to …

ruby-on-rails link-to
ruby on rails link_to delete method not working

I am trying to delete a post using the code below: <%= link_to 'Destroy', post, :method => :delete, :onclick =&…

ruby-on-rails forms link-to
RAILS link_to external site, url is attribute of user table, like: @users.website

I'm working on a website that allows users to create an account. One of the attributes when creating a user …

ruby-on-rails ruby hyperlink external link-to
Ruby on rails link_to syntax

After following a tutorial Ive found. Im now redoing it again, without the scaffolding part, to learn it better. However, …

ruby-on-rails scaffolding link-to
problems with form_tag for controller action with members-get route

I'm making a form_tag panel that contains information (checkboxes) specific to a controller action. This action is set up …

ruby-on-rails routes form-for link-to
Rails link to file in public folder

I have a file data.txt in the public folder of my Rails project. I want to link to it …

ruby-on-rails ruby-on-rails-3 link-to
How to mixin and call link_to from controller in Rails?

This seems like a noob question, but the simple answer is eluding me. I need to call link_to in …

ruby-on-rails helpers actionview link-to mixins
link_to update (without form)

I want a link to update a resource, without using an HTML form. Routes: resources :users do resources :friends end …

ruby-on-rails routes link-to put
Ruby on Rails: How to pass parameters from view to controller with link_to without parameters showing up in URL

I am currently using a link_to helper in View to pass parameters like title , author ,image_url and isbn …

ruby-on-rails link-to
ruby on rails link_to an image

I'm facing the following problem: I have a very small image gallery with image files located in the following directories …

ruby-on-rails image link-to