Hi , I am having a problem in sending loggedin user and also his website name as paramters .So that he can have preview of that.
Relationship : I have 2 models user an website and relationship between them is user :has_one website So when i click on <%= link_to 'preview' ,:controller=>'home',:action=>'index' %> , in this i need to send respective user who has logged in and also his corresponding website. SO how can i send these values as paramters. -- 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.

