In whenever you can schedule Ruby code directly like so: every 1.day, :at => '4:30 am' do runner "MyModel.task_to...

So you're getting an error message like the following, although your Gemfile lists shoulda-matchers and it has always...

The most obvious way to use spring is to call it explicitly: spring rails console spring rake db:migrate...

Aruba is an extension to Cucumber that helps integration-testing command line tools. When your tests involve a Rails test...

github.com

Using this gem, whenever a Capybara test in Cucumber, Rspec or Minitest fails, the HTML for the failed page and...

For me guard recently took a very long to start (as in "minutes"), because I had lots of images in...

As you know, assignable_values does not invalidate a record even when an attribute value becomes unassignable. See this example...

Travis CI is a free continuous integration testing service. However, it is really fragile and will break more than it...

RSpec 3.0 deprecates the :should way of writing specs for expecting things to happen. However, if you have tests you...

Warnings like those below may originate from rspec or shoulda-matchers or other gems that have not updated yet to...

So you want your Ruby script to install missing gems instead of dying? Take this method: def installing_missing_gems...

You are probably using Ruby 1.8.7 with a too recent versions of Rubygems. Downgrade your Rubygems to the latest version...

guides.rubyonrails.org

config.action_controller.action_on_unpermitted_parameters enables logging or raising an exception if parameters that are not explicitly permitted are...

github.com

quiet_assets helps with disabling asset pipeline log messages in the development log. When the gem is added, asset pipeline...

makandra dev

Spring is a Rails application preloader. When debugging e.g. the rails gem, you'll be wondering why your raise, puts...

Programatically invoke Rails generators Require the generator, instantiate it and invoke it (because generators are Thor::Groups, you need...

Rubygems can produce lots of deprecation warnings, but sometimes, you cannot fix them. To have a tidy terminal with output...

If you want to label things with a color but don't actually care which cholor, you can use the...

github.com

better_errors is an awesome gem for enhanced error pages in development, featuring a live-REPL for some light debugging...

wiki.macromates.com

When using TextMate2 with the cucumber bundle, it does not recognize step definitions (e.g. custom_steps.rb) as such but believes they...

makandra dev
github.com

We now have a gem that supports our form model approach.

Development environment setup Rails Composer Basically a comprehensive Rails Template. Prepares your development environment and lets you select web server...

String#indent is not a standard Ruby method. When you use it, be sure to know where this method comes...

coderwall.com

There seems to be no way to use therubyracer -v '0.11.4' and libv8 -v '3.11.8.17' on OS X Mavericks.