Class visibility in rake tasks

2010-05-20 Thread Paul Leader
I have a really odd bug that I can't work out. I have a pair of rake tasks for bootstrapping my database with basic initial data that look a bit like this task :default_user => :environment do u = User.new( :login => 'foo', :password => '**', :password_confirmation => '**', :email =

Re: Zerigo

2010-03-22 Thread Paul Leader
Hi Daz > I'd also like to map docs.energiehelpline.co.uk to map to > docs.enegiehelpine.co.uk.s3.amazonaws.com, as outlined in this thread > here:http://groups.google.com/group/heroku/browse_thread/thread/55d6cfea1f... There are two options that I can think of. One is to setup a redirector (eith

Re: undo heroku deploy

2010-02-18 Thread Paul Leader
That's good advice. I would also recommend that you always have a deployment test application. I have my main app, graphomatic.net, and a test app, both on heroku. These are setup as remotes named 'live' and 'test' I always do a test run of the deployment process with the test app before pushing

Re: "Taps Server Error: year too big to marshal" when doing a db:pull

2010-02-16 Thread Paul Leader
Aaaah, thank you for that. There was a date in there for "201-01-15", so the year was actually very small. I should add more input validation to the form that creates those :) Still not sure what's going on with the RestClient error: All my gems are up-to-date, so not sure why there is a proble

"Taps Server Error: year too big to marshal" when doing a db:pull

2010-02-15 Thread Paul Leader
I've been trying to pull a copy of my database for local debugging, but every time I try I get the following error: Auto-detected local database: sqlite://db/development.sqlite3 Receiving schema Receiving data 6 tables, 4,665 records users: 100% |==|

Re: dns wtf for .it domain

2010-02-09 Thread Paul Leader
hanges are one of the reasons you have to plan server moves quite carefully in advance. I hope that helps Paul Leader -- li: http://uk.linkedin.com/in/paulleader cv: http://paulleader.co.uk/paul_leader_cv.pdf -- You received this message because you are subscribed to the Google Groups "He

Re: SSL, HTTPS and ProxyReverse

2009-11-30 Thread Paul Leader
Oren's essentially correct. If you wanted to use a reverse proxy in this context, it would need to terminate the SSL connection itself. However, your SSL proxy box could re-write the urls to https://foo.heroku.com and then use the free piggy-back SSL service. You would still be open to the possi

Re: maintenance mode

2009-10-15 Thread Paul Leader
Oren, That's excellent, looks very easy and much appreciated, I have a big update to my app currently sat waiting for this :o) Would it be possible to make it selective? I.e. if you are logged into Heroku as a dev for the app you see the app, but everyone else sees the maintenance page. That w

Re: OpenID Provider plugin/generator for Rails?

2009-09-17 Thread Paul Leader
Google > or Yahoo, Windows Live, Facebook, MySpace, and a bunch of others. You > integrate with rpxnow once, and they cover the various integration > methods with the different providers. Also, a user does not have to > use or know his openid. > > Cheers,   Jay > > On Sep 11, 9:34 

OpenID Provider plugin/generator for Rails?

2009-09-11 Thread Paul Leader
Hi folks, Does anyone know of a plugin or generator for embedding an OpenID Provider into a rails app? I'd like the users of my service (http://www,graphomatic.net) to be able to signin to other sites (specifically GetSatisfaction) using OpenID. There are a few OpenID consumer plugins kicking a

Re: Can't use CNAME and MX records together

2009-07-01 Thread Paul Leader
op-level domain on Heroku's setup. Sad ... this is > > making me think twice about hosting my next project on Heroku. > > > Nate > > > On Jun 29, 10:48 am, Paul Leader wrote: > >> Just a quick update, > > >> I have now taken my VPS out of the equati

Re: Can't use CNAME and MX records together

2009-06-29 Thread Paul Leader
o the correct server. Not sure if this will work if you need wildcard subdomains, I suspect probably not. Paul On Jun 29, 2:09 pm, Paul Leader wrote: > The whole "mixing CNAME's, A and MX records" problem is solvable, but > not without a little something extra.  So

Re: Can't use CNAME and MX records together

2009-06-29 Thread Paul Leader
The whole "mixing CNAME's, A and MX records" problem is solvable, but not without a little something extra. So I thought I'd share my setup for graphomatic.net. Two things to note: 1) A CNAME record should never be mixed with other records, even if your DNS provider allows it, the behaviour of m

Re: Heroku Commercial Launch

2009-04-24 Thread Paul Leader
Great to finally have an idea of pricing. Most of the tiers seem pretty fair, price wise. However count this as another vote for a bit more storage on the Blossom plan. Given that Herokugarden gives you 40M for free 5M seems just a tiny bit on the stingy site. It would be good to have just a l

Re: "Internal server error" when trying to execute anything in the console

2009-04-14 Thread Paul Leader
Hi Adam, Thanks for the that. What was the problem? Anything I could have done from my end to sort it, just in case it happens again? Paul On Apr 14, 1:34 am, Adam Wiggins wrote: > Should be fixed now. > Adam --~--~-~--~~~---~--~~ You received this message bec

Re: "Internal server error" when trying to execute anything in the console

2009-04-12 Thread Paul Leader
Hi Adam It's in the interactive console. Running 'heroku console "1+1" ' works fine, but trying to do the same thing in the interactive console it generates the Internal Server Error message. Paul On Apr 11, 11:17 pm, Adam Wiggins wrote: > Is this still happening for you right now?  I was abl

"Internal server error" when trying to execute anything in the console

2009-04-11 Thread Paul Leader
If I try to execute any ruby expression in the heroku console (even just 1+1) the console dies with the error "Internal server error". Is this a problem with my app, or this a problem with the system that handles the console requests? The app seems to work great, with no problems. My app is gra

Re: Javascript files not loading in IE?!?

2009-03-27 Thread Paul Leader
x27;t going to happen any time soon. Paul On Mar 26, 2:36 pm, Paul Leader wrote: > Could someone at Heroku look into this?  It's making my app totally > useless at the moment. > > I have two copies of my app, production on heroku and dev/test on > herokugarden. > > The ja

Re: Javascript files not loading in IE?!?

2009-03-26 Thread Paul Leader
lem. Paul On Mar 25, 4:02 pm, Paul Leader wrote: > Err, now I'm really confused. > > The same file, deployed to my test version on herokugarden works fine > -http://graphomatic.herokugarden.com/javascripts/excanvas.js > > This is just weird. > > Just to cla

Re: Javascript files not loading in IE?!?

2009-03-25 Thread Paul Leader
d the rest don't load. Very peculiar. Paul On Mar 25, 2:44 pm, Paul Leader wrote: > Something weird is going on with my application (www.graphomatic.net > or graphomatic.heroku.com). > > If I visithttp://graphomatic.heroku.com/javascripts/application.jsIE > will download the fi

Javascript files not loading in IE?!?

2009-03-25 Thread Paul Leader
Something weird is going on with my application (www.graphomatic.net or graphomatic.heroku.com). If I visit http://graphomatic.heroku.com/javascripts/application.js IE will download the file just fine. If I try and load http://graphomatic.heroku.com/javascripts/excanvas.js - IE tells me that "Th

Re: Problem moving from herokugarden - rake aborted! Don't know how to build task 'db:data:load'

2009-03-23 Thread Paul Leader
't find give a shout and will try and track down. (iPhone   > and no copy/paste makes task difficult for me) > > On Mar 22, 2009, at 4:51 PM, Paul Leader wrote: > > > > > > > I've followed the instructions for migrating my app from Herokugarden > > to h

Problem moving from herokugarden - rake aborted! Don't know how to build task 'db:data:load'

2009-03-22 Thread Paul Leader
I've followed the instructions for migrating my app from Herokugarden to heroku, but I'm having a problem with the final step. If I try to load my data from db/data.yml, I get: rake aborted! Don't know how to build task 'db:data:load' Any idea what's up with this? Obviously the rake targets ar

Re: Caching dynamically generated images/graphs

2009-02-23 Thread Paul Leader
ite my own. Paul On Feb 22, 6:16 pm, Keenan Brock wrote: > Heh, > > Sounds like someone needs to put a little veneer on the current google   > charts apis. (there are a bunch of them out there) > > gruff-googlecharts gem > > :) > > On Feb 22, 2009, at 1:01 PM, Paul

Re: Caching dynamically generated images/graphs

2009-02-22 Thread Paul Leader
ugh this doesn't answer your question directly I admit... Did you > consider using google graphs:http://code.google.com/apis/chart/ > > I've used these in several large-scale projects. > > Ben > > On Sun, Feb 22, 2009 at 6:38 AM, Paul Leader wrote: > > > I'm

Caching dynamically generated images/graphs

2009-02-21 Thread Paul Leader
I'm dynamically generating graphs using gruff as a major part of my application. I've played around with caching the images to disk, which gives me a significant speed boost, but I was wondering if there is a better (or indeed a "right") way to do this which I am missing. I considered storing th

Re: multiple subdomains pointing at the same heroku instance

2009-02-10 Thread Paul Leader
I would like to be able to do this as well. The inability to handle subdomains is a really handicap for many apps. Paul On Feb 9, 6:52 pm, Jeremy Lightsmith wrote: > There was a post about this a while back, but I have an app, > atwww.doinlists.com, and it uses iphone.doinlists.com to handle

Re: Herokugarden = 502 Bad Gateway

2009-01-19 Thread Paul Leader
Err, now I don't get a 502, instead I get "The server for me-monitor failed to start. Details:" with an empty details block. This is the case with both the app and the edit interface. App: me-monitor Paul On Jan 19, 8:07 pm, Paul Leader wrote: > Hi guys, > > It'

Re: Herokugarden = 502 Bad Gateway

2009-01-19 Thread Paul Leader
ed. > > - Ivan > > On Sun, Jan 18, 2009 at 7:49 AM, Paul Leader wrote: > > Hi > > > I'm getting 502s for my app "me-monitor" as well.  It was working ok > > immediatly after the move, but now fails. > > > Also, I can't save changes to fi

Re: Herokugarden = 502 Bad Gateway

2009-01-18 Thread Paul Leader
Hi I'm getting 502s for my app "me-monitor" as well. It was working ok immediatly after the move, but now fails. Also, I can't save changes to files in the code editor. Thanks Paul On Jan 16, 7:37 pm, Ivan wrote: > Right now, we are sifting through the logs to make sure that > everything's

Failing to install acts_as_list plugin

2009-01-12 Thread Paul Leader
I'm trying to install the acts_as_list plugin (http://github.com/rails/ acts_as_list/tree/master) through the web interface, and failing miserably. I was surprised that it wasn't in the standard list of available plugins, so I tried to install it from git hub. I've tried doing an install from UR