I know you weren't looking for this sort of advice, but you might want to take a look at Sequel (http://sequel.rubyforge.org/) as an ORM.
Scott On Tue, Mar 15, 2011 at 6:14 PM, marco <[email protected]> wrote: > I'm still stuck with this one. > I have already given up, and was planning on using datamapper (but > still didn't). > I've chosen ActiveRecord just for the sake of the challenge... but > this error bugged me enough already. > > I think Heroku is just not prepared to run sinatra+AR apps. > > BUT now you asked, I might wanna try again. > > If you really wanna go with Sinatra+AR on Heroku, let me now. Theres > definitely something to learn in there. > > > > On Mar 15, 9:59 am, Raj Bandyopadhyay <[email protected]> wrote: > > Hi Marco > > > > I think it's running your rake task. I tried some puts statements in > > the Rakefile and they show up in the heroku response. The problem must > > be elsewhere. > > > > Raj > > > > On Feb 6, 4:30 pm, marco <[email protected]> wrote: > > > > > > > > > > > > > > > > > Hi. > > > > > I have tried several different configurations on my config.yml and I > > > keep getting this message when trying to rake db:migrate : > > > > > rake aborted! > > > ActiveRecord::AdapterNotSpecified > > > > > It seems to me the AR isn't seeing the code inside the config.yml > > > > > I noticed that when deploying Rails apps Heroku just ignores the > > > contents of this file. How does this work with sinatra+AR? I mean, > > > when I do heroku rake db:migrate, is it my custom rake tasks running > > > on the server or is some heroku specific rake task ? > > > > > Does anyone have some idea about this? > > -- > You received this message because you are subscribed to the Google Groups > "Heroku" 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/heroku?hl=en. > > -- Scott http://steamcode.blogspot.com/ -- You received this message because you are subscribed to the Google Groups "Heroku" 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/heroku?hl=en.
