08 Feb '14, 6pm

Not obvious: Rails autoloading for your gem [Rails application suites series] via @pivotallabs

We have been developing gems a lot as part of giving more structure to Rails applications: the idea and some techniques . Doing this often sees a Rails application and one or more gems being developed at the same time. This unfortunately breaks Rails autoloading. This article will show you how to get it back… Gems usually require their files from their root file. This makes Ruby load all necessary classes which makes them unavailable to Rails autoloading. Thus, whenever the gem changes the server needs to be restarted. Making the gem an engine, will allow for autoloading, but can add a lot of extra dependencies. The technique shown here will make the gem “progressively enhanceable” such that it can be autoloaded when used within a Rails application without adding any additional dependencies to the gem itself. Progressively enhance your gem to be an engine Let this be our g...

Full article: http://pivotallabs.com/rails-autoloading-for-your-gem/

Tweets

rails-cached-routes (0.0.1): Cache expensive ra...

rubygems.org 09 Feb '14, 1am

Cache expensive rails routes files to speed up rails stack

@oujiro_coffee 多少面倒でもいいならここの最初のやつを

oiax.jp 08 Feb '14, 12pm

% mkdir ~/src % cd ~/src % wget http://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p195.tar.gz % tar xzf ruby-2.0.0-p195.tar...

@sofra Why stop at first. Take the rails road.

api.rubyonrails.org 14 Feb '14, 1am

Returns the tail of the array from position . %w( a b c d ).from(0) # => %w( a b c d ) %w( a b c d ).from(2) # => %w( c d ...

@johnmoon6 I also find this Rails Guide incredi...

guides.rubyonrails.org 08 Feb '14, 3pm

Active Record Basics Rails Database Migrations Active Record Validations Active Record Callbacks Active Record Association...

Everyday Rails Testing with RSpec is now availa...

everydayrails.com 09 Feb '14, 2am

Everyday Rails Testing with RSpec has been translated to Japanese and is now available on Leanpub. The team of translators...

Japanese translation of Everyday Rails Testing ...

rubyflow.com 09 Feb '14, 2am

Japanese translation of Everyday Rails Testing with RSpec now available Posted by everydayrails on February 09, 2014 — 0 c...

rxjs-rails (2.2.13): This gem makes the RxJS js...

rubygems.org 07 Feb '14, 2pm

This gem makes the RxJS js files available to the rails asset pipeline

Ruby on Rails Guides:

guides.rubyonrails.org 13 Feb '14, 10pm

Ruby on Rails Guides (v3.2.14) These are the new guides for Rails 3.2 based on v3.2.14 . These guides are designed to make...

Rails for Zombies ha sido actualizado a Rails 4...

railsforzombies.org 18 Feb '14, 6pm

Level 1 Change Level Find I Create Find II Query Update Destroy Download Slides Download HD Video Download SD Video An Env...

If you are going to isolate from Rails why not ...

rubyflow.com 10 Feb '14, 11pm

If you are going to isolate from Rails why not ditch Rails? Posted by cored on February 11, 2014 — 0 comments If you are g...

amcharts3-rails (0.0.2): Integrates amCharts v3...

rubygems.org 13 Feb '14, 7am

amcharts3-rails 0.0.2 Integrates amCharts v3 into your rails app. install gem install amcharts3-rails Download Documentati...

@peterc for your consideration:

pivotallabs.com 08 Feb '14, 8pm

I spent years writing tests for my Rails apps, and every single test file began with this one, seemingly innocuous line: r...

How Should My Rails App Talk to Redis?

rubyflow.com 11 Feb '14, 6pm

How Should My Rails App Talk to Redis? Posted by justinweiss on February 11, 2014 — 0 comments While you’re writing your R...

Eyeliner 101 + Application Tips + My Reccomendations <3

Eyeliner 101 + Application Tips + My Reccomenda...

bubzbeauty.com 08 Feb '14, 4am

Anyways, I apologise if I have been slow with videos. I haven't properly written a diary entry on the site either. This mo...

The Rails Command Line — Ruby on Rails Guides F...

guides.rubyonrails.org 06 Feb '14, 5pm

$ rails generate scaffold HighScore game:string score:integer invoke active_record create db/migrate/20120528060026_create...