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.
Checkout this awesome API Generation Platform!
We just launched EmergentAPI, API Generation on the fly for Mobile and Web Apps. Rack Based Platform.
When One Second Isn't: Tracking EventMachine Latency
A quick method using Instrumental to gauge when your EventMachine server is over capacity.
Ditch YAML and Embrace Ruby's Lisp Heritage
Ruby (Rails database configuration, I’m looking at you) should embrace its Lisp heritage move to using Ruby instead of YAML for configuration. Let me know what you think.
Foreman as process manager, Pow as DNS server
In development Foreman manages output streams, responds to crashed processes, and handles user-initiated restarts and shutdowns. One downside to Foreman is typing http://localhost:3000, http://localhost:3100, etc. into the web browser, incrementing the port number for each app, forgetting which port is which app. Pow has a DNS server, capable of port proxying to Rack apps. So, we can use Foreman as process manager, Pow as DNS server.
SocialStream the social network framework has reached 1.0
Social stream Has reached the 1.0 milestone. Social Stream is a solid framework for building any type of contact and content-oriented social network. It is divided into components that provides developers with flexibility to use what they need. Built in functionality include basic functionalities of contacts, streams and walls, files, events and even XMPP based chat support.
Building an Ember app with RailsAPI - Part 2
Part 2 is less Ruby and more Ember but I draw comparisons on Ember to Rails to make it more digestible for the Rails devs.
Simple Passive Code Generation
Code generation isn’t beyond any developer capable of writing the simplest script.
A collection of Ruby books compiled by a Rubyist of 7 years
As a side project, I’ve put together a site with collections of books from Amazon. I hope you all find the books useful. While the links are affiliate links, I hope I’m providing the community with something of value by collecting these resources in one place and adding little notes on why they’re useful to Rubyists. I’d love any suggestions!
I wrote my first gem - CanBe - A twist on ActiveRecord STI
I wrote my first gem CanBe and a blog post with a little more rationale.
Cleaner specs with custom RSpec example groups
I just published a new article about the advantages of custom RSpec example groups and how they can help you to reduce duplication and test setup in your specs. After a short introduction the article illustrates how to customize example groups for certain specs using a practical example based on ActiveModel::Serializers.
Rails: extremely critical security fixes - upgrade immediately
[SEC][ANN] Rails 3.2.11, 3.1.10, 3.0.19, and 2.3.15 have been released!
DevPanel: A New Gem That Provides Page Render Times and Debugging Info In The Browser for Rails Apps
DevPanel was created after reading about StackOverflow developers having the ability to see page render times in browser, in an easy and convient manner. DevPanel is a small box that appears on your screen that shows all sorts of debugging info. See render times, including time spent in the view and controller as well as the number of partials that were rendered. It also shows which controller was called and which action was rendered which is useful when you are new to an app and it’s not clear what page is being loaded when you click through the app. Check it out!
Why I love DATA
I wrote up a blog post on what DATA is, and why I use it so often:
Reversing ticket priorities on Fridays
Paul Ostazeski on our team recently realized that reversing ticket priorities on Fridays was a big productivity booster. Here’s why. Does your team knock small tasks out on Fridays or focus on big tasks as long as possible?
Asynchronous Processing in Web Apps, Part 2: Developers Need to Understand Message Queues
A few months ago I published an article about asynchronous processing and how a database is often not well-suited to the task. The article was well received by many other developers that recognize the important of understanding all the tools available in our toolbox for sound system architecture design. Today, I have published part two in my series which digs deep into the details of message queues, how they work, and which options exist today. I believe in the modern development world that every developer should understand message queues. If you at all interested in background processing, message queues and how to integrate them into your applications, please be sure to let me know what you think.
Building an Ember app with RailsAPI - Part 1
I’m writing a 2 part series on building your first EmberJS app with the RailsAPI gem. The first post goes into setting up your app for developing in Ember
SDRuby Presents: Fast
We live in a fast society, so why should our apps be any different? Richard Schneeman from Heroku demonstrates how to optimize your Rails app for speed and scalability – on both the front end and back end. [more inside]
RubyFlux – Statically Compile Ruby to Java
RubyFlux statically compiles Ruby into Java. It has awesome performance and runs everywhere Java does with no runtime dependencies, but it isn’t done yet. Here’s a brief introduction.
Know your closures: Ruby's blocks, procs, and lambdas
Anonymous functions (closures) are one of Ruby’s most powerful features, and this post explores Ruby’s three different flavors of closure – blocks, procs, and lambdas.
Get your test suite much faster by removing database_cleaner
Get that now! Check out the post here or the gist here [more inside]
Released Roar 0.11.5 With HAL Link Arrays and Representable 1.2.9 With Polymorphism Support!
The new Roar version now completely implements the HAL/JSON standard, including the long-awaited link arrays. Also, representer got some nice new features for polymorphism in your REST representations - check it out on my blog.
New presenter on the block
Tired of using those same presenter gems every time? Maybe the Resubject gem can refresh you thoughts about presenters :-)
Tealeaf Academy, an online school for developers
Tealeaf Academy is an online school for developers, focusing on Ruby on Rails. [more inside]
Kill your ActiveRecord observers!
Faster startup + Rails 4 ready + obvious dependencies + it’s easy = Kill ActiveRecord Observers
DismissibleHelpers: Help text your users can dismiss
I just released the dismissible_helpers gem. It allows you to add help text to your application which your users can remove