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.
Ruby Waterfall
A way to chain ruby services and commands. https://github.com/apneadiving/waterfall
Practical Object Oriented Design in Ruby Book Review
Read why I rate this book as 3 out of 5 stars : Practical Object Oriented Design in Ruby Book Review
Version 0.1.2 of Dynaspan has been released!
Dynaspan is an in place text editing solution for Rails with AJAX substituting text to an input field. Unlike other in place text editing solutions this is designed to support Rails forms with nested attributes. This gem does all the heavy lifting allowing you to write a simple method call to do all the work for you. It includes extra features such as JavaScript hooks, and complete options customization. A sample demonstration is available on the JS Fiddle link on the github repo. https://github.com/danielpclark/dynaspan
Implementing Singleton pattern in Ruby
Presenting couple of ways to implement this pattern in Ruby. Check it out here.
Opalist Newsletter - Issue #4
Opalist is an e-mail newsletter showcasing the latest news and tutorials in the Opal (Ruby-to-JS source compiler) ecosystem and cutting-edge front-end development. In our fourth issue, we cover a bunch of news in the world of Opal gems as well as a great screencast showing how to build highly-interactive apps via Volt.
Ruby Hash default_proc
A quick post about the Hash default_proc. What is it good for, a quick trick and a caveat! Read it here
Don't "Use" Protected Methods in Ruby
I’ve just published an article on protected methods in Ruby. In this article, I discuss a proper usage of protected methods and try to shed some light on when they’re appropriate via an easy-to-understand example.
acts_as_localized: When Globalize is an overkill
https://github.com/GBH/acts_as_localized [more inside]
Getting started with AlchemyCMS
AlchemyCMS looks like the perfect CMS in terms of it’s architecture and flexibility. It’s the best way to give your users freedom of changing page content while keeping everything under control in terms of structure and design. You don’t have to worry about your users messing up the view because they’re lacking the technical skills to write proper html/css. Read more
JSON Schema Basics
Learn about the basics of JSON Schema and how to validate data using JSON Schema.
Rails’ HashWithIndifferentAccess
Rails offers a less error prone Hash collection type along with added some additional methods for convenience. http://6ftdan.com/allyourdev/2015/05/28/rails-hashwithindifferentaccess/
One more useful abstraction for Rails - My take on Form objects
Just wrote a blog post about Form objects on rails, please enjoy: http://codingwithaxe.com/my-take-on-form-objects/
How to simplify Active Record scopes that reference other models
I wrote a post about how I’ve been simplifying my Active Record scopes that reference other models.
An introduction to Swift for Ruby Developers
In this article I outline several interesting features of Swift and compare them with the equivalent features in Ruby.
RocketConf Amsterdam - Call for Proposals
RocketConf Amsterdam is a three day conference for modern web developers and dev ops. The call for proposals is open now! Also, there are a few early bird tickets left. Read more at http://www.rocketconf.eu
Episode 3: Understanding Volt Views and Tags
This week’s screencast is a quick overview of how views, tags and controllers relate to each other in the Volt framework. I build a very simple card guessing game that exposes most of Volt’s view layer features.
libgrader: Find quality gems for your next project.
Libgrader helps you find documented, actively maintained gems. Similar to Ruby Toolbox and Awesome Ruby, libgrader can help you choose the right gems to integrate with by highlighting the gem’s license, dependencies, documentation, upkeep, activity, alternatives, and more. (Created by Aaron Lasseigne.)
Beautiful Ruby, convenient Rails
In this blog post I want to reflect on things which make Ruby a beautiful language to read and write, and on things which make Ruby on Rails a convenient tool to quickly prototype.
Get started with the Sequel gem
I’ve published a screencast and article on using the awesome Sequel gem to work with databases. Enjoy!
Ruby & Rails Cool stuff & tips - S15E01
I just published some tips for Ruby & Rails.
What is Ruby DSL
An overview of DSL and some suggestions. http://ilyabylich.svbtle.com/what-is-ruby-dsl
Introducing the Passenger Status Service for Heroku
The newly launched Passenger Status Service makes Passenger status reports (the passenger-status tool) work on Heroku. Read the announcement here.