Pniemczyk Info
- Total activity 3
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 1
-
Pniemczyk Info commented, -
Pniemczyk Info created a post, AnsweredUnresolved reference in view when render action with locals
action in controller: def index render :index, locals: { my_var: 'show me`}end In view: <p><%= my_var %></p> I get a warning `Cannot find 'my_var'`. It is ok when instead of locals I use an instan...