Living on the Edge Rails
Software engineer to
build technical basis
Rubyist / Perl Monger
Hi, I’m Kentaro Kuribayashi, working for paperboy, Japan.
I’m a software engineer to build our company-wide technical basis.
I’m on Twitter and GitHub.
Our company, paperboy, is known for a PaaS-like service, Sqale.
Sqale supports rack apps.
Please check it out if you get interested.
So, Rails 4 is coming...
Nobody knows precisely when it is, though ;)
This mindmap shows us newly introduced topics in Rails 4.
As you can see, Rails 4 doesn’t introduce so much big changes,
but too many newly introduced and removed/deprecated features.
Check them out
Check them out in advance to get accustomed to the new Rails.
You’ll eventually do with upgrading your existing apps to Rails 4.
Edge API Reference
Rails4 Release Notes
Rails 4 compilation links
There already have been some documents from which we can get the changes.
As you may know, now you can keep up with the Edge Rails with iPhone or Kindle,
every time, everywhere!
By the way, I’ve been working on development of a tool, named Triglav, these months.
It’s kind of a server management tool.
Still at alpha stage
It looks like that. Just so common web application, though.
Triglav has minimalistic features providing API set to retrieve hosts information.
It copes with users’ complicated demands with loose-coupled architecture.
Of course, it’s written in the Edge Rails.
Rails 4 Chat
And I hacked up chat example using some new features in Rails 4.
ActionController::Live, one of the killer features of Rails 4, is suitable for Server-Sent Events.
I combined it with the new Queue API and Redis.
In that way, we can easily create such a realtime application using Rails.
It’s very exciting!
Living on the Edge
Living on the Edge Rails is harder than you might imagine ;)
You’ll often get stuck into various problems around Rails eco-system.
When I started developing Triglav, there were many bugs around sprockets.
This picture shows my pull request to sass-rails.
I ﬁxed also less-rails along with the new sprockets.
This is to ﬁx turbolinks.
It didn’t work with ActionController::Live.
At a certain time, Ruby 2.0.0 broke the backward compatibility with Bundler.
So, I sent a pull request that made Rails 4 depend on the new Bundler.
The stories above are only
applicable to Edge Rails,
furthermore it is being to
the major version up now!
The stories above are only applicable to the Edge Rails,
furthermore it is being to the major version up now!
As a result, I got to know more about Rails internal and its eco system.
I recommend you should be into it once at least :)
These are highly recommendable books for those who want to know more about Rails.
(The former book explains the Rails internal)
(The latter gives us how to upgrade our existing applications to Rails 4)
Both books are must-read.
l found Rails is developed in a very social way.
I’m convinced that working with the Edge Rails is one of the fastest way to do social coding.
• Living on the Edge Rails is
fun and good lesson
• Rails 4 is really promising
• Try Rails 4 as soon as