Monthly Archives: June 2011

Devise and cancan with rails 3

Devise Follow the railcast (209-introducing devise) at the following link while for the initial part( Ex installation) there is slight difference. Run the following instead of railscast mention way. rails generate devise:install http://railscasts.com/episodes/209-introducing-devise For customization http://railscasts.com/episodes/210-customizing-devise Run the following instead … Continue reading

Posted in ruby on rails | Tagged , , | Leave a comment

WARNING: Unable to verify SSL certificate for api.heroku.com

The Problem while working with heroku WARNING: Unable to verify SSL certificate for api.heroku.com To disable SSL verification, run with HEROKU_SSL_VERIFY=disable Solution Uninstalled heroku gem and installed heroku ( “<2.0.0”) gem. by http://www.klairvoyant.in

Posted in rails, ruby on rails | Tagged | 4 Comments

RSpec 2 on Rails 3

What is BDD (Behaviour driven development) We can say BDD is TDD (Test driven development)  Done Right. It extends TDD by writing test cases in a natural language that non-programmers can read. Behavior-driven developers use their native language in combination … Continue reading

Posted in rails, ROR, ruby on rails | Tagged , | Leave a comment

rake aborted! uninitialized constant Rake::DSL

Problem: rake aborted! uninitialized constant Rake::DSL solution In Rakefile above require ‘rake’ put  require ‘rake/dsl_definition’ or simple add require ‘rake/dsl_definition’ in the rake file source http://www.klairvoyant.in

Posted in rails, ROR, ruby on rails, web development | Tagged , , , | 2 Comments

Exception Hierarchy-Ruby

Posted in rails, ROR, ruby on rails | Tagged , | Leave a comment

Ruby on rails tutorials

Ruby on Rails Tutorial: Learn Rails by Example http://railsforzombies.org/ http://tryruby.org/ https://rubymonk.com/  

Posted in ruby on rails | 2 Comments