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.
Roda - The Routing Tree Web Framework
I’m proud to announce the initial release of Roda, a new ruby web framework based on the following ideas: [more inside]
attr_searchable is search_cop now and v1.0.0 is out
attr_searchable, the gem to add database agnostic fulltext search to ActiveRecord (for Mysql and PostgreSQL) is a young and ambitious project. As its set of features grew, it has become neccessary to change its DSL and name. Thus, ‘attr_searchable’ is called ‘search_cop’ now. [more inside]
How to Pick Languages
Adam Keys shares our latest GrowingDevs article on some techniques for picking languages. While not strictly about Ruby, this is a great guide for finding a language to try next.
Google Analytics API access via Ruby (on Rails)
I just published a tiny “how to”: Google Analytics API access via Ruby (on Rails). Hope it helps some people!
Refactoring Logic from a Rails View
I wrote about Refactoring Logic from a Rails View. Hope you enjoy!
Write maintainable JavaScript/CoffeeScript in Rails
I just wrote a piece about the pattern we use to write maintainable JavaScript in our Rails apps. Have a read and let me know what you think.
Shortcode, a gem for working with wordpress style shortcodes in ruby projects hits 1.0.0
Created 1 year ago the Shortcode gem has new hit version 1.0.0. Thanks to the community for submitting pull requests, bug reports and feature requests the gem has matured and become more full featured in it’s year of existence. Features of note include: [more inside]
middleman-presentation - building HTML+JavaScript-presentations without much effort.
This project helps you to build wonderful presentations based on HTML and JavaScript. [more inside]
Art to Aid, Shopify to Spree, VPS to Ninefold – It’s All About Satisfaction
Several months ago we were reaching a critical point in Art to Aid’s development. We had begun using Shopify about six months prior to test our theory that creatives and consumers want to work together to create good in the world; at least ten percent of every sale on Art to Aid goes to support a charitable organization of the artist’s choosing. We were closing in on flipping the switch on our own custom platform built on the popular Ruby on Rails ecommerce platform Spree. I had been happily denying the need for a deployment strategy more complex than a capistrano task pushing out to a single VPS. Continue reading blog
RubyConf 2014 is open for Registration
Sunny San Diego this year from November 17-19, 2014. [more inside]
4 simple memoization patterns in Ruby (and one gem)
Memoization is really common in Ruby, but the most popular pattern for memoizing method calls has some major flaws. I wrote about some of the more advanced patterns you can use to memoize your method calls, and show some interesting Ruby tidbits along the way.
Seven Useful Custom ActiveModel Validators
I just wrote about 7 useful custom ActiveModel validators. Let me know if you’ve used similar ones or have any to contribute.
Deploy Rails Apps with Capistrano 3 - a Tutorial
We wrote a new tutorial on how to use Capistrano 3 to deploy Rails apps. [more inside]
Rendering data content via JavaScript template using Dust.js
I found this below article interesting as well as helpful. Rendering data content via JavaScript template using Dust.js [more inside]
a9n helps to manage ruby and rails app configurations
<a href”http://blog.lunarlogic.io/2014/rails-apps-extra-configuration-nightmare-solved/”>a9n is a new gem</a>, which helps to keep ruby and rails app configurations easily maintainable, verifiable and clean. Created by Krzysztof Knapik (<a href=” rel=”nofollow” https://twitter.com/knapo”>@knapo</a>).
Most loved Ruby on Rails project
A handy list of the most popular open source Ruby on Rails projects (ranked by the amount of stars on Github) - Most Loved RoR Open Source Projects.
ABC of Ruby on Rails
I just created a Medium Collection ABC of Ruby on Rails. I need your feedback and suggestions. Thanks!
The best gems for Rails beginners
Ruby Gems are essential for every Ruby on Rails programmer. They are a small pieces of already written and tested code which provide some functionality. For example, there are many gems which provides admin interface for your app. It means that you instal the gem, make some basic setup and you … Continue reading
A Survival Guide for Legacy Rails Apps
I wrote an article on some tips I picked up with working on legacy Rails apps. I hope you like it!
How to use jQuery UJS for AJAX requests
I just released a new screencast about using jQuery UJS and AJAX in your Rails apps.
How using object factories and mixing mutable and immutable state can lead to bugs in your code and
Using factories is nice to simplify your specs, but you should be careful with the mutable objects you could be reusing there.
github_api v0.12.0 just released!
I’ve released github_api gem after few months of rewriting internals. It has magical unicorn logo! [more inside]