Displaying 4 results from an estimated 4 matches for "signup_path".
2006 Jun 16
0
Strange problem with ActionMailer
I have the following code to send out email notifications. The view
can vary for each call to signup_confirmation, so I''m setting
template_root on each call in order to do that. It works for a while,
but after a few days it will start using a value of signup_path that
was used in a previous call. In other words, Notifier.template_root =
signup path does not actually set Notifier.template_root to the value
of signup_path. Instead it seems to be setting template_root to the
view that was most recently modified.
For example, lets say signup_confirmation ha...
2006 Jun 21
0
Possible bug in actionmailer
I have the following code to send out email notifications. The view
can vary for each call to signup_confirmation, so I''m setting
template_root on each call in order to do that. It works for a while,
but after a few days it will start using a value of signup_path that
was used in a previous call. In other words, Notifier.template_root =
signup path does not actually set Notifier.template_root to the value
of signup_path. Instead it seems to be setting template_root to the
view that was most recently modified.
For example, lets say signup_confirmation ha...
2012 Jul 17
24
Static Pages from Railcast
Hi everyone,
I need several pages to be static but also modify when requested. I try
following the railcast from Ryan at
http://railscasts.com/episodes/117-semi-static-pages?view=comments
Here what I have done!!
rails g scaffold Pages name:string permanentlink:string title:string
author:string access_level:string is_published:boolean
meta_description:string meta_keyword:string
2008 Jan 08
47
specs on private methods
How does a person test private methods?
Is there a way to declare them as private, but retain any tests that
were written during the initial development?
Thanks.
--
Posted via http://www.ruby-forum.com/.