and, how do i fix this, in newbie terms...?!
You need to do exactly what the deprecation message says: don't use
has_avatar?
<% if @user.has_avatar? %> ...
becomes
<% if @user.avatar %>
and, how do i fix this, in newbie terms...?!
You need to do exactly what the deprecation message says: don't use
has_avatar?
<% if @user.has_avatar? %> ...
becomes
<% if @user.avatar %>
There are a couple other things deprecated in 2.0 that cause compiler crashes (although they work in 1.2): namely "@params" and "@request", which should be replaced with "params" and "request".
It's mentioned in an article here:
i want to full coding in on or more project what about i have lot of things in ruby on rails place help me
Oi want to full coding in on or more project what about i have lot of things in ruby on rails place help me