Displaying 1 result from an estimated 1 matches for "echantillonscontrol".
2010 Apr 30
3
undefined method `call' for nil:NilClass
why would I be getting this error after submitting my form?
NoMethodError in EchantillonsController#create
undefined method `call'' for nil:NilClass
This is my create method in the controller:
def create
@echantillon = Echantillon.new(params[:echantillon])
@echantillon.set_eros_values
respond_to do |format|
if @echantillon.save
if params[:echantillon][:...