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.
Phusion Passenger 4.0.4 released
Phusion Passenger 4.0.4 has been released with many bug fixes.
Divide — Start Procfile processes in different Terminal/iTerm tabs
See usage and source code on GitHub.
What's new in Active Admin 0.6
Active Admin 0.6 has been released, and contains lots of changes. Here is a sum-up of these changes, to help you choosing to upgrade or not: https://discuss.gemnasium.com/t/activeadmin-0-6-0-is-out/8. We’d like to hear if anyone had troubles while upgrading to this version.
TheRole 2.0 released. Authorization for Rails 4 with administrative interface
TheRole is semantic, flexible and lightweight role system for your rails 4 application. All permissions are defined in with 2-level-hash, and store in database with JSON. Using of hashes, makes role system extremely easy to configure and use. Bye bye, CanCan, I got The Role! ;)
Hooks Got Better.
The hooks gem gives your objects simple hooks with callbacks. In the new 0.3 version we added some features like callback chain halting.
markdown 1.1.1 - Markdown Engine Wrapper Now Includes HTTP API / Web Service
The Markdown Engine Wrapper (markdown) gem that lets you use your markdown library of choice (e.g. kramdown, redcarpet, maruku, etc.) now includes a builtin web service/server. Try the markdown HTTP API running on heroku or start your own markdown server. More info. Cheers.
Learn Ruby on Rails from beginners
Codelearn.org launched an experiment called Learn Ruby on Rails from Beginners, the experiment got 10k hits in one day and was on the front page of HN for a long time!
Phusion Passenger 4.0.3 released
This release comes with important features and bug fixes.
Rails recipe: How to change objects in Rails [Flowchart]
I just published a new Rails recipe about “How to change objects”. The flowchart helps you decide when to use Rails Magic, and when use Object Oriented best practices like Service Objects. Comes with example scenarios and code.
Paperclip, Bootstrap and SimpleForm working together on Rails
I just wrote a post about integrating Paperclip with Bootstrap and SimpleForm without the need for f.error elements. In my opinion this approach is way more cleaner that the basic one. You can check it out here: Paperclip, Bootstrap and SimpleForm working together on Rails
7 secrets every Ruby developer should know before getting into a manager or lead role
At some point of time in your career, you have to decide if you want to continue on a technical path or to take up a management role. Pramod Paranjape explains how your life would look like if you have taken up a management role.
Attrio – Typed Attributes for Ruby Objects
This yet another attempt to reinvent the wheel??? No no no! This is how typed attributes should be done from the beginning. Attrio is simple, configurable, without ANY dependencies and works with all major versions of Ruby. [more inside]
Using the Google Maps API with Ruby on Rails and Coffeescript
I just launched a new tutorial about Using the Google Maps API with Ruby on Rails and Coffeescript. Please take a look.
Spree 2.0 has been Released
Spree 2.0 is now available. Spree is the world’s most flexible e-commerce platform. It is used by over 15,000 stores worldwide and it’s 100% open source. The new version includes support for multiple stock locations and shipments. The UI functionality has also been broken out into separate frontend and backend gems to make it easier to replace the views or do client-side rendering.
Talk: An Intervention for ActiveRecord
Confreaks just posted my talk from RailsConf 2013, “An Intervention for ActiveRecord”. Video, slides, and SpeakerRate are all right here. If you’d like to take a whirlwind tour of some things that may surprise you about ActiveRecord, please have a look!
byebug & pry-byebug - Finally debugging in ruby 2.0!
Can’t use gem ‘debugger’ since you upgraded to Ruby 2.0? Next behaving like step? Checkout byebug or pry-byebug!
Using Sprockets to Manage the Asset Pipeline in Padrino
I wrote a blog post about Using Sprockets to Manage the Asset Pipeline in Padrino. Please give me feedback!
AngularJS with Rails 4
I recently posted a couple of articles on using AngularJS with Rails 4. Check them out at
How quickly check for access control vulnerabilities in Rails applications
Here’s a quick blogpost on how to find basic security vulnerabilities blogpost in Rails apps.
Song Lyrics for your Ruby apps.
I just launched a gem called Lyricfy that let you fetch song lyrics from many sources from a single and clean interface. Check it out here and let me know your thoughts on this.
@import-once in LESSCSS, way handier!
Avoid duplicate imports with LESS preprocessor - Blog post
Your tests are slow? Put them in solitary confinement
An introduction to reducing your Rails test suite run time.
Top 5 Cucumber best practices
Once you get started with Cucumber, the question is how to write your features. How can you keep your features maintainable so you don’t have to correct them after each change in the application? How can you reuse steps most efficiently? What are typical Cucumber smells? [more inside]