I am following the Ruby on Rails tutorial and have come across a problem while trying to pass variables to partials.
My _user partial is as follows
_user
locals
In Rails 4.2 I had to remove the locals part and just use size: 30 instead. Otherwise, it wouldn't pass the local variable correctly.
size: 30
For example, use this:
<%= render @users, size: 30 %>