The Ruby and Rails community linklog
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Submit a post
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
The War on ActionView with Russian Doll Caching
A poor performing page on Gameface gets a 67% performance improvement using a smarter page layout and Russian Doll caching. [more inside]
Ruby Conference in Boston: Wicked Good Ruby - Less than 50 tickets remaining!
If you’ve been thinking about coming to Boston this October for Wicked Good Ruby Conf please purchase a ticket ASAP. We are still 2 months out and there are less than 50 tickets remaining! Purchase your ticket here
Server Side Events with the Phusion Passenger Ruby webserver
This demo shows how you can use HTML5 Server Side Events with the Phusion Passenger Ruby web server.
I like Pry but...
I hear this all the time. The article is my attempt to squash Pry misconceptions, and get people using this awesome tool.
Señor Developer ❤ So Coded - 24 Hours Ticket Sale
Señor Developer and the So Coded Conference in Hamburg, Germany are teaming up for a 24 hour only sale. Get a discounted So Coded Ticket and a limited edition Señor Developer shirt with a lovely pink print. Only valid before tomorrow (20th Aug 2013) 10am CEST. [more inside]
world.db Now Includes Web Admin Rails Engine - mount WorldDbAdmin::Engine
The open world database (world.db) now includes a web admin Rails engine that you can include in your web app. Example: mount WorldDbAdmin::Engine, :at => '/worlddb' See the Rails engine in action in the Sportbook - a free football (soccer) match predication bookie - for example. Cheers.
Using Gemfile gems inside .gemspec file
I just launched gemspec_deps_gen gem that could be used for direct dependencies build for your .gemfile based on existing bundler’s Gemfile. See details here.
Rails API Pattern for Complex Collections
One of the patterns I’ve been using when building restful APIs is creating a model for collections. This model then uses a factory method for instantiating from a set of params. I’ve found this cleans up controllers significantly and creates a nice place for tests to hang off of. I’ve written a blog post about this building complex collections from params pattern.
Mastering Modern Payments: Using Stripe with Rails
I just launched Mastering Modern Payments, a guide to integrating Stripe with your Rails application. It’s packed with sample code and best practices that will make sure your integration works now and in the future. I’ve collected for you the best resources from around the web and added my own experiences and stories to help you make your Stripe integration as robust as it can be.
Rails Camp New England 2013
Registration for Rails Camp New England 2013 is now open! Register today (via guestlist) [more inside]
A Reflection on Organizing the Burlington Ruby Conference
I wrote a blog post about my experience organizing this year’s Burlington Ruby Conference. I thought I’d share it here since there are probably some first time organizers and maybe even some future organizers who might get something out of it.
Linner 0.4.0 is released!
Change log: https://github.com/SaitoWu/linner/blob/master/CHANGELOG. You should try it out!
Codelearn Playground now has Rails 4.
Recently Nitrous.io made a lot of wave by providing free Rails 4 online IDE on the browser. I decided to extend Rails 4 support on Codelearn Playground, which is also like an online Rails IDE augmenting Codelearn Rails Tutorials. [more inside]
No more compiling Phusion Passenger
Soon, compiling Phusion Passenger will be a thing of the past.
Convert number to array of digits
Check out blog post, add your own solution for benchmarking. Let’s find the best one.
Re-launch of RailsForum announced
I just received this email about the total re-launch of the RailsForum.com site: [more inside]
Decoupling large Rails apps with Wisper
Got a complex Rails app in need of decoupling? Check out my post on using Kris Leech’s awesome Wisper framework: getting hexagonal with Wisper, a listener framework for Ruby.
Setting up the BDD stack on a new Rails 4 application
Post will take you through the steps needed to set up our prefered BDD stack (RSpec, shoulda-matchers, FactoryGirl, Cucumber) on a new Rails 4 application and explain why each tool is important.
Measure the social media engagement on your blog posts
We just launched the engagement gem. Use it, hop in and help out!
My first gem: ActiveSubsetValidator
I just launched active_subset_validator and am preparing to use it in production at my company. It’s particularly useful with ActiveModel serialization. Any feedback would be greatly appreciated!
Sinatra: Some Questions from Ruby Newbies
Ruby Gurus Carlo Pecchia, Dan Mayer, Darren Jones, Nathan Esquenazi and Sudarshan Shubakar answer some questions on Sinatra, asked by Ruby beginners.
explore and contextualize data
table_print shows objects in nicely formatted columns for easy reading. It even lets you nest other tables of related objects, contextualizing data across tables. It’s incredibly flexible, yet simple, making it easy to see exactly the data you care about. [more inside]
dry_crud 2.0.0 is out
I just released dry_crud 2.0.0, a Rails generator for DRY and specifically extendable CRUD controllers, views and helpers. The widely restructured Ruby 1.9 code base now also supports Rails 4 and thoroughly follows the Ruby Style Guide.