[Rails] Re: ActionView::Template::Error (undefined method `strftime' for nil:NilClass)

2012-06-26 Thread yatta20
On Tuesday, June 26, 2012 8:33:31 AM UTC-4, yatta20 wrote: > > Hello, I'm a newbie. I need help resolving this issue. I recently added > a pdf to the newsletter admin section of the website and now I can no > longer view page 2 of the list of pdf's. Nor can I login to see the > newsletters as

[Rails] Re: ActionView::Template::Error (undefined method `strftime' for nil:NilClass)

2012-06-26 Thread jsnark
The message says that enewsletter.publication_date is nil. Check the database to make sure that all instances have a valid date for this field. you should add a validation to the model to prevent creating a row with a nil value. On Tuesday, June 26, 2012 8:33:31 AM UTC-4, yatta20 wrote: > > H