How do I drop all tables if db:reset isn't supported? I want to start over
with migrations, but I'm getting an error when I try.
On Wed, Nov 24, 2010 at 2:37 PM, Josh Coffman wrote:
> Yep, and I was considering dropping everything and trying again. But I dont
> think it will matter.
>
>
> On Wed
Yep, and I was considering dropping everything and trying again. But I dont
think it will matter.
On Wed, Nov 24, 2010 at 1:18 PM, José wrote:
> I suppose you executed rake db:migrate, right?
>
>
>
> El 24/11/2010, a las 18:54, Josh Coffman escribió:
>
> Makes sense, so I added a migration to c
I just had an exciting afternoon-before-thanksgiving...I read all the
goodness at:
http://weblog.rubyonrails.org/2010/11/15/rails-3-0-3-faster-active-record-plus-plenty-of-fixes
...about better perf and low-risk changes with Rails 3.0.3, so I did a
local upgrade from 3.0.1, ran some tests, everyth
I suppose you executed rake db:migrate, right?
El 24/11/2010, a las 18:54, Josh Coffman escribió:
> Makes sense, so I added a migration to change those columns to text. But it
> didn't seem to change schema.rb. Is this because I'm using sqlite3 locally? I
> tried to update and push to heroku
Manually establishing a connection should work just fine. Just do something
like this in the class you want to use the alternate database:
url = URI.parse(ENV["HEROKU_POSTGRESQL_RONIN_URL"])
ActiveRecord::Base.establish_connection( {
:adapter => url.protocol,
:host => url.host,
Makes sense, so I added a migration to change those columns to text. But it
didn't seem to change schema.rb. Is this because I'm using sqlite3 locally?
I tried to update and push to heroku and still got the same error.
-j
On Wed, Nov 24, 2010 at 10:10 AM, Steve Smith wrote:
> Hi Josh,
>
> It lo
Hi Josh,
It looks like one of your string fields is too long for the 255 character limit
imposed by postgres. You could maybe try migrating to text rather than string
or truncate the value locally?
Steve
On 24 Nov 2010, at 17:05, Josh Coffman wrote:
> Howdy!
>
> I'm trying to push data fr
Howdy!
I'm trying to push data from my local sqlite3 up to heroku, but its
failing. Can someone tell me what I'm doing wrong? (calline heroku db:push
--app )
It's a long error; here's the top:
Saving session to push_201011240903.dat..
!!! Caught Server Exception
HTTP CODE: 500
Taps Server Error
We actually just ended up running Clockwork on a Tiny EC2 instance to
queue up scheduled jobs. Much less overhead than resque-scheduler,
and very clean. It's about 4 lines of code :)
On Nov 24, 9:10 am, Clément wrote:
> Hi all !
> You may find this useful :https://github.com/clmntlxndr/heroku-sc
Hi all !
You may find this useful :
https://github.com/clmntlxndr/heroku-scheduler
It's an minimalistic app that aim to schedule another one's tasks,
using resque-scheduler.
It needs one full-time worker from his side ; and one or many workers
doing the jobs at the other side, in the "main" app.
Thanks for your response Wes.
I need to do is have my Heroku apps with their own database and using
a different database with the engine
At the moment I am thinking of inheriting all my Engine's Models from
one abstract model with a establish_connection set to my engine's DB.
However I am not sur
11 matches
Mail list logo