heroku

Which version of rails should I start with?

I have been dabbling with Ruby for some time now and also was thinking of learning RoR they released a new version for it. :) So now should I start learning RoR v1.2 or v2.x especially keeping the following in mind I couldn't find any great free books/in-depth tutorials on RoR 2.x yet I want to learn RoR with the eventual goal of doin...

How do you write a case insensitive query for both mySQL and postgres?

I'm running a mySQL database locally for development, but deploying to Heroku which uses postgres. Heroku handles almost everything, except that my case insensitive Like statements become case sensitive. I know I could use iLike statements, but my local mySQL database can't handle that. What is the best way to write a case insensitive q...

How to use haml with heroku ?

Hello I try to get haml working without the gem with sinatra (Heroku doesn't allow gem install, as far as I know) What I've done so far: clone the haml git repo inside my project add : require 'haml/lib/haml.rb' to my sinatra main file the following works: get '/test' do Haml::Engine.new('%p test').render end but the following...

Where can I get Ruby, GraphViz and Dot hosted?

I want to find some hosting for a small Ruby (Sinatra) app that uses Graphviz and Dot. Heroku is usually my favorite because it's a) Free, b) Simple, and c) Scalable. Heroku doesn't do Graphviz and Dot, so I'm looking for an alternative. Any ideas? ...

do you use Heroku to write Ruby on Rails app?

do you use Heroku to write Ruby on Rails app? i read about from the book Learning Rails from O'Reilly, and then today found that http://heroku.com/myapps doesn't have a "Create App" on the page so that I can edit the code online any more. Do they only allow that for the paid user? It also seems that they only let you have one web requ...

Radiant extensions on Heroku?

Anyone have any experience yet getting Radiant CMS extensions to actually make it onto a heroku instance? I have tried removing the submodules and adding the files back, but haven't really had much luck... ...

How to create heroku based Sinatra apps

I am trying to create Sinatra based heroku app without any luck? ...

Why would anyone use Heroku (security-related)?

Heroku seems great, but most non-trivial applications require authentication, and conventional authentication schemes require an SSL connection, and it's impossible to get https://your_app_name.com (you can only get https://your_app_name.heroku.com). So if you're using Heroku, is it that: You don't mind directing users to another doma...

Heroku eating my custom HTTP Headers

I'm using Heroku (heroku.com) to deploy my rails application, and am building an iPhone client to interface with it. My intention was to pass the unique device identifier of the phone to the app as a HTTP header for authentication. When I test locally, my headers come through fine, but on Heroku it seems to strip out my custom header. I ...

is there a way to edit herokus yml file

I setup a remote connection locally and need to push it to heroku. When I pushed it to heroku I got an error saying: RemoteDBName is not configured. I'm just assuming (also searched and saw) heroku uses their own config.yml file. ...

DNS issues with Heroku + FreeDNS.afraid.org

Trying to use these two in conjunction. Pointed domain to ns1 through ns4.afraid.org, have the following setup cardbox.io (G) A 75.101.145.87 cardbox.io (G) A 75.101.163.44 cardbox.io (G) MX 5:alt1.aspmx.l.google.com cardbox.io (G) MX 5:alt2.aspmx.l.google.com cardbox.io (G) MX 1:aspmx.l.google.com cardbox.io (G) MX 10:aspmx2.goo...

Staging instance on Heroku

I'd like to be able to push code to dev.myapp.com for testing and then to www.myapp.com for production use. Is this possible with Heroku? ...

Does Pony support SSL/TLS for GMail (Yes!)

Does the Pony gem support e-mail with SSL/TLS? I'm trying to (easily) send e-mail with Google Apps on Heroku. Thanks! After jumping through several hoops, I found a combination of solutions that worked for me: http://417east.com/thoughts/2009/austin/heroku-gmail-sinatra. ...

Has anyone used Railskits SaaS kit on Heroku?

I am considering purchasing the Railskits SaaS kit and deploy the app on Heroku. Has anyone deployed a Railskits SaaS based app on Heroku? What was your experience with it? Thank you. ...

How do I exclude data from local table schema_migrations from being pushed to Heroku DB?

I was able to push my Ruby on Rails app with MySQL(local dev) to the Heroku server along with migrating my model with the command heroku rake db:migrate. I have also read the documentation on Database Import/Export. Is that doc referring to pushing actual data from my local dev DB to whichever Heroku's DB? Do I need to modify anything...

Is it possible to retrieve your source code from heroku?

Once you have uploaded your source code to Heroku, is it possible to download it from there if necessary such as in the case of a failure of your local disk? Because of heroku's integration with git, I would assume this might be possible at least in theory. ...

Weird time inconsistencies between production and development

For some reason times are appearing differently in development (my local Mac) and production (Heroku). Take a look: (Just prior to doing this I did a heroku db:pull, so the databases should be identical) Production (Heroku) >> Annotation.last.id => 2028 >> Annotation.last.created_at => Sat, 12 Sep 2009 06:51:33 UTC +00:00 >> Time.zone ...

Separate files in Git

I'm trying to keep my static files in a separate branch so that I can keep them from merging into my master brach (on Heroku, your application's slug needs to stay small). I don't want to ignore my static files, because I want to keep them inside my "devel" branch. Ideally I'd like to keep test.db blank and my entire public folder blan...

Transitioned from Subversion to Git, how do I push to heroku gracefully?

I had been using a Subversion for my source control, combined with git ONLY to deploy (push) to heroku. My pattern was: Update local working copy from latest master at remote subversion repository. Then do git commit and git push heroku (Git was set to ignore .svn stuff). This working copy I only used to push to heroku, I had another sub...

Good Git deployment using branches strategy with heroku?

What is a good deployment strategy to use with Git + Heroku (ruby on rails)? Currently the way I work with my origin git repository: All features (or 'stories') are first checked out as branches, then get merged with master and pushed to origin. Anything pushed to origin/master triggers a script that pulls the new rails code to the s...