Please post this to rubyonrails-talk. This list is reserved for discussion 
about core development of Ruby on Rails. For general issues, post them to 
rubyonrails-talk. 

Thanks. 


On Tuesday, 26 June 2012 at 6:00 AM, 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 a 
> student. I'm using Ruby 1.9.3, Rails 3.2.1. 
> Here's the information from the log file. 
> 
> ActionView::Template::Error (undefined method `strftime' for nil:NilClass):
> 
> 
>     28:         <%- locals = {:enewsletter => enewsletter} %>
> 
> 
>     29:         <td nowrap="nowrap" class='enewsletter_name'><%= 
> enewsletter.subscription.title %></td>
> 
> 
>     30:                                       <td 
> nowrap="nowrap"><%=enewsletter.title%></td>
> 
> 
>     31:                                       <td 
> nowrap="nowrap"><%=enewsletter.publication_date.strftime("%m/%Y")%></td>
> 
> 
>     32:                                       <td nowrap="nowrap"> 
> <%=enewsletter.require_ama_disclaimer%></td>
> 
> 
>     33:                                       <td>
> 
> 
>     34:                   <%#= link_to("Edit Release", 
> edit_admin_release_path(release), edit_admin_release_path(release)) %> &nbsp;
> 
> 
>   app/views/admin/enewsletters/index.html.erb:31:in 
> `_app_views_admin_enewsletters_index_html_erb__1819630787_23456257799140_0'
> 
> 
>   app/views/admin/enewsletters/index.html.erb:26:in `each'
> 
> 
>   app/views/admin/enewsletters/index.html.erb:26:in 
> `_app_views_admin_enewsletters_index_html_erb__1819630787_23456257799140_0'
> 
> 
>   app/controllers/admin/enewsletters_controller.rb:17:in `index'
> 
> 
>  
> 
> 
> Please advise
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Core" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/rubyonrails-core/-/JNcwYvhTA7wJ.
> To post to this group, send email to rubyonrails-core@googlegroups.com 
> (mailto:rubyonrails-core@googlegroups.com).
> To unsubscribe from this group, send email to 
> rubyonrails-core+unsubscr...@googlegroups.com 
> (mailto:rubyonrails-core+unsubscr...@googlegroups.com).
> For more options, visit this group at 
> http://groups.google.com/group/rubyonrails-core?hl=en.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to rubyonrails-core@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-core+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.

Reply via email to