RailsCasts Pro episodes are now free!

Learn more or hide this

Christian Bankester's Profile

GitHub User: cmbankester

Comments by Christian Bankester

Avatar

Got it.

ruby
def name
   h.best_in_place_if is_dashboard?, model, :name, nil: 'Click to add a name.'
end
Avatar

Is it possible to use best_in_place with decorators (e.g. Draper)? If so, how?