gaslight.co

We’ve been working on one of our first Angular projects with a Rails backend. It’s been a great experience. I wanted to share a few things we learned...

...that we hope are helpful to others building Angular on Rails apps...

blog.remarkablelabs.com

With the impending release of Ruby on Rails 4, it looks like a lot of developers will be updating their web applications in the coming new year.

...a series of blog posts going over everything you will need to know about Rails 4 for an effortless upgrade...

apidock.com

If you have an integer and want to use it to represent an element's position (like "1st" for 1...

Do you have page caching enabled for the development environment and there are cached pages lying around in public/?

blog.bigbinary.com

...is raised because your old database does not have a configured environment yet, which Rails 5 enforces. If this error occurs while migrating your parallel test databases, make sure to...

blog.bigbinary.com

Rails 5 migration classes look like this now: class CreateUsers < ActiveRecord::Migration[5.0] Mind the [5.0] at the end. They do this to evolve the ActiveRecord::Migration API without breaking...

nandovieira.com

...to store JSON data and choose the one that matches your use case best. Rails 4.2 includes support for jsonb columns, too. The article outlines different ways on how to...

stackoverflow.com

Previously the assets group existed to avoid unintended compilation-on-demand in production. As Rails 4 doesn't behave like that anymore, it made sense to remove the asset group...

gist.github.com

How to remove/disable the automatic XSS protection helper html escaping for Rails 3. This is probably a horrible idea...

makandracards.com

...attached link for a way to extract the conditions of a named scope in Rails...

rubysource.com

...a look at what you need to do to get your app ready for Rails...

makandra dev
github.com

The asset pipeline from Rails 3.1 packported to 2.3. By Michael Grosser from parallel_tests fame...

seejohncode.com

This sounds promising: The best part from the Rails side, is that you don’t have to change anything at all in your code to swap a varchar out for...

37signals.com

How to call routes, make requests and try out helpers from the Rails console...

localeapp.com

A possible way for localisation in Rails applications that allows editing translations remotely...

blog.carbonfive.com

...to handle miscellaneous configuration elements for your application. One little known secret is that Rails 3 allows you to define your own configuration elements trivially...

blog.bitcrowd.net

Recently, we had an interesting lunch-break with the rails 3.1. asset-pipeline in production mode. Daniel Zahn made a blogpost about our journey, precompiling assets, fingerprinting, Haml, Sass & Compass...

shopify.com

Most web applications contain several examples of state machines, including accounts and subscriptions, invoices, orders, blog posts, and many more...

devblog.imedo.de

XPath matchers can be combined with CSS-selector matchers. This is really useful if not, for example, the content of...

In an environment: config.logger = Logger.new('/dev/null')

makandra dev
github.com

The rack-contrib gem brings a JSONP middleware that just works™. Whenever a JSON request has a callback parameter, it...

nateberkopec.com

rack-mini-profiler is a powerful Swiss army knife for Rack app performance. Measure SQL queries, memory allocation and CPU...

blog.arkency.com

Amazing guide how to divide a ball of Javascript spaghetti distinct separate layers (model, view, controller, backend adapter).

github.com

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