Authentication is all about being able to verify the identity of a user in the context of our application.
Goal of this lesson is to understand what middlewares in Rack are good for. Rack Start with these articles:
The Bullet gem is designed to help you increase your application's performance by reducing the number of queries it...
Sometimes you need to run background jobs that you can't make important guarantees about - they may run out of...
Action Mailer Basics and Previews Chapter "Task H1: Sending Mail" from Agile Web Development with Rails 7.2 (in our...
Learn to treat files as an ActiveRecord attribute type, like :string or :integer Research Look at the README for...
Understand what Memoization is and when it can be useful. Understand the @variable ||= computation pattern. Learn how to use...
Understand why we use pagination Exercises Create 7500 movies in MovieDB (hint: Doing it in a single transaction is...
makandra is responsible for maintaining about 75 Ruby projects. These projects use a large number of different versions for Ruby...
Today I ran into this: Invalid gemspec in [/usr/local/rvm/gems/ruby-1.9.3-p194/specifications/ZenTest-4.9.3.gemspec]: Illformed requirement ["< 2.1, >= 1.8"]. You need a newer Rubygems version. Try...
Capistrano 3 is a major rework of the framework and requires several adjustments to your deploy configuration files. The biggest...
In RSpec you can tag examples or example groups with any tags you like simply by saying describe ReportCreator, slow...
When using threads, you must make your code thread-safe. This can be done by either locking (mutexes) all data...
Web applications can be used by multiple users at the same time. A typical application server like Passenger has multiple...
Dusen (our search gem) is now capable of excluding words, phrases and qualified fields from search. E.g. search for
You can hook into Slack when using Capistrano for deployment. The slackistrano gem does most of the heavy lifting for...
See this Railscast. Basically you can simply write views like index.xlsx.erb: ID Name Release Date Price <% @products.each do |product| %> <%= product.id...
I got the following error after updating the selenium-webdriver gem: wrong number of arguments (0 for 1) (ArgumentError) /home/pointoo-dev/.rvm/gems/ruby-1.8.7-p374/gems/selenium-webdriver-2.35.1/lib/selenium/webdriver/common/platform.rb...
Gem to show failing specs instantly. Unlike the --fail-fast option it doesn't abort abort on the first failure...
Preview what your markdown would look like on Github. Helpful e.g. when writing or extending a Readme for your gem...
Geordi 1.0 features a command line application geordi, that holds most of Geordi's previous commands. New features
Add gem 'database_cleaner' to your Gemfile. Then: Cucumber & Rails 3+ # features/support/database_cleaner.rb DatabaseCleaner.clean_with(:deletion) # clean once, now DatabaseCleaner.strategy = :transaction...
When a gem author releases a new version to Rubygems, usually a tag with the version number (e.g. v1.2.0) is...
Jonas Nicklas, the author of Carrierwave and Capybara, has released Refile, a gem for handling file uploads in Rails. It...