RailsCasts Pro episodes are now free!

Learn more or hide this

sarovin's Profile

GitHub User: sarovin

Comments by

Avatar

Hi,
if i have

ruby
attr_accessor :date, :count 

where :date is a datetime and :count is a integer, i have this error "NoMethodError (undefined method `data(1i)=' for".

Can i declare :date as a datetime?