[Rails] Re: Create reports with ActiveRecord to download by user

2009-03-09 Thread Charles Johnson
On Sun, Mar 8, 2009 at 10:02 AM, Shilo Ayalon < rails-mailing-l...@andreas-s.net> wrote: > > Hi - > > I want to enable the user to generate a report based on the database > used by the application. I have a few related questions: > > 1. Assuming my script is called 'create_report.rb' and stored un

[Rails] Re: Create reports with ActiveRecord to download by user

2009-03-09 Thread Andrius Chamentauskas
On Mar 8, 5:02 pm, Shilo Ayalon wrote: > Hi - > > I want to enable the user to generate a report based on the database > used by the application. I have a few related questions: > > 1. Assuming my script is called 'create_report.rb' and stored under > /lib/tasks, how do I execute it from my con

[Rails] Re: Create reports with ActiveRecord to download by user

2009-03-08 Thread Frederick Cheung
On 8 Mar 2009, at 15:02, Shilo Ayalon wrote: > > Hi - > > I want to enable the user to generate a report based on the database > used by the application. I have a few related questions: > > 1. Assuming my script is called 'create_report.rb' and stored under > /lib/tasks, how do I execute it from