search for: last_month

Displaying 4 results from an estimated 4 matches for "last_month".

2008 Mar 06
4
Active Record Question
Hi- Say I am returning some collection of DateTime items and I only want to compare the month. Is there a way to do this directly in the find? Something like this... @coll = Collection.find(:all, :conditions => ["date.month = ?",Time.now.lat_month]) Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google
2009 Apr 10
0
MySql Memory Error
...name'') end index.html.erb <% @page_title = ''Subscriptions'' %> <% if @stats %> <h1>Revenue Summary</h1> <table id="stats"> <tr> <th>Last Month</th> <td><%= number_to_currency(@stats[:last_month]) %></td> </tr> <tr> <th>Last 30 Days</th> <td><%= number_to_currency(@stats[:last_30]) %></td> </tr> <tr> <th>This Month</th> <td><%= number_to_currency(@stats[:this_month])...
2010 Nov 05
3
non event_calendar
What am I missing here, trying to get the event_calendar plugin working with my existing app. Have installed the plugin, which I guess is a good start, then this... class Booking < ActiveRecord::Base has_event_calendar :start_at_field => ''arrival_date'', :end_at_field => ''departure_date'' Route... map.availability_calendar
2003 Nov 26
3
Backup with rsync until one month
Hello, I use rsync in the company to make a backup every 4 hours. but I would like to do in a way like this, that the rsync make a backup of the changed files until one month long. EX:- file.bak.001 file.bak.002 ..... This file will be to get always, and so i can get the all files untill an one month old version of the file. Is it possible? Regardes Dipl.-Ing. Nazar Hassan