I want to pass a value through url to access the same value in the next page. When i pass the value i can see in my url
value=example+value
but when i use the following in views it then sends only the first part of the value after it pass to the next page.
<%= link_to edit, edit_post_path(post, :value => params[:value]) %>
when the edit button is clicked it performs the action and when it goes to the next page i see only value=example in the url. what should i do?
I think that the best way to do that is using permalinks… To do that, you have some gems or you could see this railscast to do it.