Archive for Ruby on Rails

How to find which Git branches have been merged?

If you have a ton of branches and you want to find which branches have been merged:

git branch --merged master

To find which branches have NOT been merged:

git branch --no-merged master

 

Comments Bookmark to delicious Digg this Technorati reddit 

Setting up Rails 3 on an Amazon EC2 Instance

Comments Bookmark to delicious Digg this Technorati reddit 

How to manage multiple Heroku environments and link existing folders to Heroku Apps?

Here are a couple of Stack Overflow questions that will help you get Git setup for your local dev environment:

  1. Managing Heroku Multiple environments with existing app
  2. How to link a folder with an existing Heroku app?
  3. Multiple environments on Heroku

Comments Bookmark to delicious Digg this Technorati reddit 

Interesting Ruby on Rails questions on Stack Overflow Part 9

Comments Bookmark to delicious Digg this Technorati reddit 

Rails 3 Application Template

Here is my Ruby Rails 3 Application template script I use to create a new Rails app.

Comments Bookmark to delicious Digg this Technorati reddit 

FB.login() called before FB.init() error

I received the following error “FB.login() called before FB.init()” in my Rails application after I followed all the steps from the Facebook Authentication screencasts.

To fix the issue I had to move the fb-root div tag after the window.fbAsyncInit function.

Here is the gist:

Comments Bookmark to delicious Digg this Technorati reddit 

Next Page »