basically you got two possibilities:
1. write the value into a session-variable
  session[:wtf] = "some string or value"

2. pass your value as a parameter to some action and read params in
your controller:
view:
  <%=  link_to "my_action" :controller => :bla, :action
=> :my_action, :wtf => "some string or value" %>
controller:
  def my_action
    puts params[:wtf]
  end

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to