Displaying 3 results from an estimated 3 matches for "publication_d".
Did you mean:
publication_id
2012 Jun 26
4
ActionView::Template::Error (undefined method `strftime' for nil:NilClass)
...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("Edi...
2006 Jul 24
1
date_select and ActiveRecord find()
If I pass a date through date_select to a controller, can a Active
Record object be found based on this date that is passed? Here is
what my log says:
ArgumentError (Unknown key(s): publication_date(2i),
publication_date(3i), publication_date(1i)):
/opt/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/core_ext/hash/keys.rb:48:in
`assert_valid_keys''
/opt/local/lib/ruby/gems/1.8/gems/activerecord-1.14.3/lib/active_record/base.rb:1323:in
`validate_find_optio...
2012 Jun 25
1
ActionView::Template::Error (undefined method `strftime' for nil:NilClass):
...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("Edi...