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.
RailsConf 2012 Twitter Leader Board APP
I just launched RailsConf Twitter Leader Board. [more inside]
Tidying up an rspec suite with helpers
A blog post about using rspec helpers to tidy up your suite.
Example gem including @font-face in the rails asset pipeline
I just created a example gem which adds @font-face fonts to the rails asset pipeline. Check it out on Github!
Exception Notification v2.6.1 is out!
ExceptionNotification v2.6.1 was just released, fixing custom views lookup for background notifications. Get it while it’s still hot!
Two for one: jqtree-rails and jquery-cookie-rails
I just created jqtree-rails which allows you to use jqTree within your Rails 3 applications. [more inside]
Concerned about Code Reuse?
If you’re concerned about code reuse in Ruby you should be using Active Support concerns to awesome-ize your modules. Learn why and how in this quick article.
Roar 0.10 with JSON-HAL Support and Representable 1.1.6 Released
Roar 0.10 got support for HAL+JSON, a new promising hypermedia REST format. Representable 1.1.6 got the :if option for conditional representing properties. Read it here.
[Screencast] Creating an ASCII progress spinner
Free screencast shows how to display a Command line progress spinner that runs in a background thread.
Learning Grails - A beginners guide for the Rails developer
I have started working on a book called “Learning Grails - A beginners guide for the Rails developer” http://leanpub.com/learninggrails). Rapid MVC development strongly influenced by Rails.
mruby, write iOS & Android apps in Ruby thanks to mruby
Appcelerator Titanium employee Yuichiro MASUI announced mobiruby. For a review of MobiRuby check out this blog post.
mruby, Matz' new Ruby implementation is now on GitHub
Matz and his team released mruby source code on GitHub. For more details on what mruby is, check out this blog post.
My take on mruby and MobiRuby
Many people asked me what I thought of the announcement of Matz’s new Ruby implementation and the first real life use of it: MobiRuby, allowing Ruby developers to write iOS apps. Here is my take on these two projects.
Devise, CanCan and Twitter Bootstrap for Rails: Tutorial and Example App
Just added to the RailsApps GitHub repo: an example app for Rails, Twitter Bootstrap, Devise, and CanCan. Twitter Bootstrap is coming on strong as a front-end framework to use with Rails; Devise continues to be popular for user management and authentication; and CanCan is a favorite for authorization architecture. This example app puts them together. Best of all, it comes with a detailed Rails Tutorial for Devise with CanCan and Twitter Bootstrap. The tutorial takes up where the popular RailsApps tutorial for Devise with RSpec and Cucumber leaves off. Like the other example apps in the RailsApps repo, this one comes with an application template to generate a starter app, with options for Haml, Devise modules, and more. Built with the Rails Apps Composer gem.
The Coffeescript Fat Arrow and Classes
I’ve hacked together some somewhat long-winded descriptions of the Coffeescript ‘fat arrow’ and how it’s used with classes. Hope these are useful to someone.
Speed up your app with Method Cacheable
Method Cacheable allows you to cache any Ruby method easily in memcache. It makes calls to the cache in your code explicit so you know whats going on at all times.
rails-footnotes 3.7.8 has been released
I just released rails-footnotes version 3.7.8. - Regexp based assigns note ignoring has been added
Redis Props - Easy annotation of ActiveRecord objects with properties stored in Redis
The company i intern at DueProps, just released a library called redis_props extracted from our codebase that’s perfect for adding attributes to your models that you won’t have to worry about querying or reporting on later. Such as flags, preferences, settings and so on. [more inside]
A complete tutorial for Rails app using ...
Oops. The author of this tutorial asked me to pull this down until he polishes it up a little more. Will re-post when it’s ready…
Enki Engine 0.0.2 released: A mountable blogging engine based on Enki
I just launched Enki Engine a mountable blogging engine based on Xavier Shay’s Enki. Enki Engine is made to be embedded in your host Rails3 application and customised wantonly.
Ruby on Rails: Helping the CX Cloud Run Smoothly
Here at the CX cloud (get your first 10GB free!), we love Ruby on Rails for its adaptability within our service. Check out our blog on why we use it in our cloud storage here: https://blog.cx.com/cloud-storage-news/ruby-on-rails/
Don't write boring code
If you think testing slows you down, your code is boring.
Rails Internals: Active Model Observers
New article in the Rails internal series: [more inside]
Plugin as mountable engine
I have written a blog related to creating a plugin as mountable engine in rails 3.1 and higher version. Check this Creating Plugin as mountable engine in Rails 3.1 and higher version