[Rails] Re: Re: Running rake task automatically with rights of server?

2011-11-15 Thread Terri I.
Craig White wrote in post #1031362: On Thu, 2011-11-10 at 20:45 +0100, Terri I. wrote: Craig Well, the root or administrator user don't have X509 certificates that can be read in. Is there a different way to run code automatically without requiring user credentials, that can only

[Rails] Running rake task automatically with rights of server?

2011-11-10 Thread Terri I.
I have a task that I would like to have run automatically throughout the day without user intervention (guessing I would use a cron job to run a rake task). It will be reading in an RSS feed and using that data to update a database. The application is secure, using https and requiring user certs.

[Rails] Re: Running rake task automatically with rights of server?

2011-11-10 Thread Terri I.
Craig White wrote in post #1031292: On Nov 10, 2011, at 11:08 AM, Terri I. wrote: I have a task that I would like to have run automatically throughout the day without user intervention (guessing I would use a cron job to run a rake task). It will be reading in an RSS feed and using that data

[Rails] Using spreadsheet gem with Oracle data

2011-05-13 Thread Terri I.
I have successfully used the spreadsheet gem to export data out of a mysql database. I am now trying to do something similar using an Oracle 11g database configured for UTF-8 data. But I get the following error on the 'workbook = Spreadsheet::Workbook.new' line of code: Iconv::InvalidEncoding

[Rails] During upgrade, schema_migrations table not populated

2009-10-07 Thread Terri I.
We upgraded our app from Rails 1.2 to 2.3. There were no outstanding database migrations, i.e. the database was up-to-date during the upgrade/deployment process. The schema_migrations table was created, but it was not populated and the schema_info table was not removed. Can anyone explain why

[Rails] schema_migrations table not created

2009-10-06 Thread Terri I.
Hi - We've got a Rails application/Oracle database that we just upgraded from Rails 1.2 to 2.3.2 We did not have any database structural modifications, and thus did not need to run any migrations. However, the deployment scripts by default include command cap deploy:migrations. Instead of

[Rails] Migrations running errantly

2009-10-05 Thread Terri I.
What would make migrations run unexpectedly? We ran cap deploy:migrations and did not expect any migrations to run since none had been changed. The schema_migrations table was there and contained the appropriate value for the last valid migration. But for some reason, the migrations started