Hallo.

Mir ist nicht klar warum ich im mailer view erfolglos versuche Zeitangaben mittel helper zu formatieren.

Error:
 Showing app/views/booking_mailer/booking.erb where line #5 raised:

undefined method `nice_date' for #<ActionView::Base:0x247c3fc>

in allen anderen views klappt das problemlos..

Derzeit behelfe ich mir noch mit:

 Beginn: <%= @seminar.start.strftime(" %d %B %Y, %H:%M")%>

aber das wird dann in englisch also may etc. ausgegeben.


Gruß
Werner


Werner Laude
[email protected]

------------------------------------------
http://www.webagentur-laude.de
http://www.seoagentur-koeln.de
------------------------------------------

_______________________________________________
rubyonrails-ug mailing list
[email protected]
http://mailman.headflash.com/listinfo/rubyonrails-ug

Antwort per Email an