On 27 November 2015 at 05:53, fugee ohu wrote:
> I'm trying to follow this example in my controller: science =
> Category.create!(:name => 'Science')
> but most create actions look like @science=Category.new(science_params)
> do I need the object to be an array beginning with @
I think this is co
I'm trying to follow this example in my controller: science =
Category.create!(:name => 'Science')
but most create actions look like @science=Category.new(science_params)
do I need the object to be an array beginning with @
--
You received this message because you are subscribed to the Goog
2 matches
Mail list logo