Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Christian Bankester's Profile

GitHub User: cbankester

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?