KEEP IN TOUCH

Join Newsletter

CALL NOW

Share with:


Recent Posts





Programming

Nonschema migrations version 5.0.0: RubyGems Page, GitHub page Now compatible with Rails 6, nonschema_migrations is the best way to separate your schema changes from your data changes. Want to run no-downtime deploys with data-only migrations? No problem. Install it in your Rails app today to see...

Read More

1. deivid-rodriguez/byebug Byebug is a fantastic debugger available for Ruby 2 (and presumably above). Drop gem 'byebug' into your Rails app Gemfile and bundle install. In either your test run or your development run, write byebug on a single line of your app and voila. When...

Read More

After many years, I decided that my gem nondestructive migrations needed a facelift. It had some cruft I didn't want, was packaged in the wrong way, and Alex Chaffee brought up a legitimate objection to the nuance of its name: the discriminating factor that differentiates...

Read More

Although Heroku has put a lot of attention into their own Postgres-based datbase architecture, Heroku Data, this article still works for rebels who want to use Amazon RDS on Heroku: https://devcenter.heroku.com/articles/amazon-rds Note that I can't seem to get "sslca" to work as a config option in my...

Read More

I am pleased to announce Version 1.3 of my gem nondestructive_migrations. With this update, nondestructive_migrations is ready for Rails 5.1. The Gem's Github page can be found here: https://github.com/jasonfb/nondestructive_migrations and you'll find a sample app for Rails 5.1 here. Version 1.3 is officially pushed to Rubygems as of...

Read More

1. Create an ErrorsController in app/controllers class ErrorsController < ApplicationController  def not_found   respond_to do |format|    format.html { render template: "errors/not_found",               layout: "layouts/application",               status: 404 }   end  end  def server_error   respond_to do |format|    format.html { render template: "errors/server_error",               layout: "layouts/application",               status: 500 }   end  end end 2. Add these to your routes.rb file match "/404", :to => "errors#not_found", :via =>...

Read More