On 28 June 2010 18:19, Peter De Berdt <[email protected]> wrote:
> And concerning the notification, it's all up to what you personally prefer
> tbh. One way to go about it is create a Downtime model and with a start and
> end time, put a before_filter in application_controller.rb that fetches all
> those > Time.now, then show them by rendering a partial into every view if
> the number of records is higher than one.

I was contemplating methods of easily having a pop-up or banner to say
"the site is going down in ten minutes". That sounds like a nice
reusable one.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to