Re: Heroku Mongoid config and how it works

2010-09-27 Thread Bradley
no one has a comment on this? I thought it'd be a fairly straight forward answer. On Sep 22, 7:11 pm, Bradley bradleyrobert...@gmail.com wrote: I just used a template for a new rails app that sets up everything for use with Mongoid.  The mongoid.yml file looks like this: production:   host:

Re: Heroku, Devise and Open Id

2010-09-27 Thread sshefer
That's the thing - I'm not. I'm going to try to make a simple app that uses the federated login with just the open_id and ruby-openid- apps-discovery gems because I really think the problem lies somewhere in Devise. The error Invalid password or email. is the default message given by Warden so

Re: Heroku Mongoid config and how it works

2010-09-27 Thread Abel Tamayo
It seems MongoMapper is more popular around here. At least it's the solution I'm using and works flawlessly with Heroku. On Mon, Sep 27, 2010 at 2:33 PM, Bradley bradleyrobert...@gmail.com wrote: no one has a comment on this? I thought it'd be a fairly straight forward answer. On Sep 22,

Re: Heroku Mongoid config and how it works

2010-09-27 Thread Chris Hanks
Heroku might be breaking up the ENV['MONGOHQ_URL'] into those components for you. Try heroku console from your command line and then ENV['MONGOID_HOST'] to see if it's present. On Sep 27, 6:51 am, Abel Tamayo abel.tam...@gmail.com wrote: It seems MongoMapper is more popular around here. At

auth errors from SendGrid?

2010-09-27 Thread John Norman
Hi. I've been getting some auth errors from SendGrid. Anyone else? Seems to be intermittent. I'm not over quota. John -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from

Re: auth errors from SendGrid?

2010-09-27 Thread John Norman
Ah. Currently experiencing a database issue that is causing website errors working on resolution. #status http://twitter.com/search?q=%23status http://twitter.com/sendgrid On Mon, Sep 27, 2010 at 1:03 PM, John Norman j...@7fff.com wrote: Hi. I've been getting some auth errors from SendGrid.

Re: Programmatically Spinning Workers Up and Down

2010-09-27 Thread Anand Ramanathan
Hi, I wanted to share my current approach for autoscaling heroku workers, which seems to be working well for me. Here is the gisthttp://gist.github.com/594782, and here is a blog post http://easymple.com/blog/archives/120 describing it in detail. Please note, this approach is different and

tinymce not working

2010-09-27 Thread geolev
I'm trying to get tinymce to work with an app and I'm having no luck. It works fine in my development environment but fails with I push it to Heroku. I believe it is due to the read-only filesystem. Has anyone worked out how to tweak tinymce to work on Heroku or does anyone have a recommendation

Re: tinymce not working

2010-09-27 Thread geolev
I got it to work but I'm not sure if I will be able to live with it long term. I used tinymce_hammer plugin. I seems to generate the javascript on the fly so I captured the resulting javascript and saved it in my public/javascripts folder as 'tinymce.js'. Then instead of using %=

Re: Heroku Mongoid config and how it works

2010-09-27 Thread Bradley
ya you're right, those env vars exist. i wonder why the docs on this are so sparse, and how the author of this template found this out. I haven't been able to locate anything that gives an indication that this is happening. On Sep 27, 11:44 am, Chris Hanks christopher.m.ha...@gmail.com wrote:

Re: Heroku Mongoid config and how it works

2010-09-27 Thread Chris Hanks
I guess they wanted the MongoHQ addon to just work with Mongoid in addition to MongoMapper. On Sep 27, 4:58 pm, Bradley bradleyrobert...@gmail.com wrote: ya you're right, those env vars exist. i wonder why the docs on this are so sparse, and how the author of this template found this out.  I

Image upload - manipulation - copy to S3

2010-09-27 Thread railsnerd
Hi First of all, I realise Heroku encourages us to upload directly to S3. However I'd like to manage that upload via Heroku first. Two questions: 1) With Heroku I understand your request can have some temporary space for file uploads. Can I rely on that space to exist for a few minutes while a

Re: Heroku Mongoid config and how it works

2010-09-27 Thread Oren Teich
I'm not sure what's going on, but Heroku doesn't do any magic like that. When you add the mongohq addon, the only url that is set is the MONGOHQ_URL. I just tested it on one of my apps, added mongohq, and there is nothing set for MONGOID_*. Perhaps that's a feature that the mongoid gem itself

Re: Image upload - manipulation - copy to S3

2010-09-27 Thread Oren Teich
1) With Heroku I understand your request can have some temporary space for file uploads. Can I rely on that space to exist for a few minutes while a Delayed Job gets to it? The space is for the request. A delayed job will run as a seperate process, so no, you can't count on it being there.