Forum: Italian Ruby user group View partial e input

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
421f0a0ddf91f441710930ae777923eb?d=identicon&s=25 Roberto Casadei (robyonrails)
on 2007-04-28 13:05
La seguente riga di codice
::  <%= input "user", "username" %>

Produce il seguente errore
::  NoMethodError in Home#index
::  You have a nil object when you didn't expect it!
::  You might have expected an instance of ActiveRecord::Base.
::  The error occurred while evaluating nil.column_for_attribute

questo codice è in app/views/components/_loginbox.rhtml

Components non è un controller, che sia per questo che mi ritorna
Non trovo differenze del codice che ho scritto rispetto a

This topic is locked and can not be replied to.