devise: methods of current_user

12 views
Skip to first unread message

fugee ohu

unread,
Jul 7, 2017, 11:52:39 AM7/7/17
to Ruby on Rails: Talk
Can I apply method calls to current_user directly like current_user.pictures instead of @user=User.find(current_user.id); @user.picures

j...@room118solutions.com

unread,
Jul 7, 2017, 11:59:08 AM7/7/17
to Ruby on Rails: Talk
Why not try and see if it works? 
Reply all
Reply to author
Forward
0 new messages