Our guest this week is Chris McCord. He’s the creator of the Phoenix web framework. Chris took us on a deep dive into the Phoenix web framework and Elixir. We covered the similarities between Ruby and Erlang, getting started with Elixir, and deploying Phoenix.
Our guest this week is David Heinemeier Hansson, aka DHH. He joins us to talk through the past, present, and future of Ruby on Rails — the most beloved web application framework in the Ruby community.
We’ll release episode #145 this Friday – March 6. It features DHH, creator of Ruby on Rails, for a discussion on 10+ Years of Rails. It’s an epic 1 hour and 45 minutes long!
Who doesn’t want a hackable Yahoo! Pipes plus IFTTT on their own server?
Adam and Jerod talk with Hong Lai, one of the co-founders of Phusion, about Phusion Passenger 5 (aka Ruby Raptor), open source, and more.
an attempt by CarrierWave’s original author to fix the design mistakes and overengineering in CarrierWave.
Learning from the past can pay off big. Built-in support for direct uploads to S3 looks killer.
Read Weekly – Issue #30
Notejam is a project in the spirit of TodoMVC, only for server-side frameworks. It allows you to quickly see how different web frameworks implement the same thing.
Andrew Kane took a Heroku blog post about getting insights in to your PostgreSQL database and ran with it, creating a nice dashboard you can mount in your Rails app as an engine.
PgHero will show you long running queries, cache hit rate, and more. I installed it on one of my apps this morning and it worked well!
Adam and Jerod talk to Anika Lindtner and Floor Drees about Rails Girls Summer of Code, Travis Foundation, fundraising, supporting open source through grants, and ways the community is showing their support of diversity in tech.
Adam and Andrew talked to Postmodern about his open source projects chruby, ruby-install, chgems, ronin and more.
Our good friend Jesse Wolgamott has a great passion for teaching Ruby! That’s exactly why he’s giving our members an exclusive 50% off discount for 6 months to learn Ruby the effective way on any of his plans at Ruby Off Rails.
Hired, the official sponsor of RailsConf 2014, is giving away 6 pairs of tickets to this year’s RailsConf in Chicago on April 22nd through the 25th.
The README to Jorge Manrubia’s Forceps library asks:
Have you ever needed to copy a given user from a production database into your local box in order to debug some obscure bug?
One hundred times: YES!
Want to use Shopify’s Dashing framework from inside your Rails app? Pierre-Louis Gottfrois has you covered with his dashing-rails Rails Engine. Action shot!
For members only — Avdi wants you to start learning Ruby with a pro (him). He’s giving our members an exclusive 77% off discount to enjoy RubyTapas for 3 months. Normally a subscription to RubyTapas is $9 per month, but our members save $21 and pay just $6 to get access for 3 months!
A lot of focus lately has been put on improving Rails’ speed in dev mode. John Leighton’s Spring gem is a result of some of that focus. It preloads your Rails application and keeps it running in the background so you don’t need to boot it every time you run a test, rake task, or migration.
As of this commit Spring will be installed by default on newly generated Rails 4.1 apps.
We would like to thank Chris Wilson of Bendyworks for contributing this post. Chris has some interesting ideas about the structuring of Rails applications and hopefully this post will get us all thinking and talking.
reactive_record from Chris Wilson is a nifty library that generates ActiveRecord models to fit a pre-existing PostgreSQL database.
Rails 4 is out and used en masse, but Dan McClain hasn’t rested on his laurels with adding Postgres-specific goodies to ActiveRecord.
Using log messages in Rails can be a huge timesaver when you are debugging. With Rconsole you can save even more time by having those messages appear in the browser console. Rconsole is a fairly new gem with a lot of potential. Installation is super simple. First add it to your Gemfile: group :development do […]
Way back in January, I wrote a blog post called “Rails has two default stacks”. In it, I discussed how people like to customize the defaults that Ruby on Rails gives you. Your company might prefer Postgres/HAML/RSpec, for example, over the default MySQL/ERB/MiniTest.
There’s an under-used feature of Rails that allows you to automate the creation of your own stack: templates. Check it:
$ rails --help
rails new APP_PATH [options]
-r, [--ruby=PATH] # Path to the Ruby binary of your choice
# Default: /opt/rubies/ruby-2.0.0-p195/bin/ruby
-m, [--template=TEMPLATE] # Path to some application template (can be a filesystem path or URL)
Application template? Yep. There’s very little documentation on this feature, unfortunately. There is a work in progress Rails Guide that gives some answers, but it’s not done yet.
Anyway, the TL;DR is this: you can write a little script to help initialize a Rails app just the way you want to. And Rails startup template is exactly that.
Here’s some of the things it gives you out of the box:
bourbon gems, as well as a few more.
- Creates a new git repository, and optionally a new one on GitHub
- Sets up foreman for easy environment variable and background service config.
include_tree . from your
application.css, since the author prefers to require things manually.
There are some other features, as well.
Check it out on GitHub and vote it up on Hacker News.