Ruby on Rails
Sunday, December 27, 2015
user model has_many profiles so how do i build a simple link_to a logged in user's profile, i'm using devise so the logged in user's id is available at current_user.id so it's gonna be <%= link_to ... ?
-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/08bf6423-300d-46ac-b473-f3439e6dde5b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment