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.
arnoldc.rb : A Ruby implementation of the Arnold Schwarzenegger-based programming language
I spent a couple of hours reimplementing the Arnold Schwarzenegger based programming language to run on any Ruby VM and here’s the result: arnoldc.rb.
Reflecting on RubyMotion Experiences at The Frontier Group
Reflecting on RubyMotion Experiences at The Frontier Group – Part 1 in a series of Rails to RubyMotion tips
OmniAuth example app for Rails 4.1
The Rails and OmniAuth starter app is a new Rails 4.1 example from the RailsApps project, with configuration using the new config/secrets.yml file, and a choice of Bootstrap or Foundation front-end frameworks.
MagmaConf 2014
MagmaConf 2014</a href> takes place this June 4, 5 and 6 in beautiful Manzanillo, Mexico; and our Early Bird discount tickets are now available for purchase here</a href>! Don’t miss our on your chance to attend Mexico’s premier web development conference. We’ve got some great speakers lined up including Sandi Metz, Desi McAdam, and Fred George (check out the full line up here</a href>). We’ve also got your amazing beach side room all made up just for you, so make sure to book your room at Magma Village</a href> before it’s too late! Finally, make sure to stay up-to-date on all things MagmaConf (including special discounts!) by subscribing to our newsletter</a href>.
Lita 3.0 released
Version 3.0 of Lita, the chat bot built with Ruby, has been released. This new version contains many new features and improvements. Take a look at the release announcement for details.
acts_as_thermometer : providing a simple resource for heat mapping
I just launched a new Gem, thermometer, as a way to provide quick heat mapping on ActiveRecord models and associations. As this is my first Gem, would love any feedback! Tested with ruby 1.9.3, 2.0.0, Rails 4. Cheers, Nick
Rails app for kids to practice Maths
A rails app I did some time ago for children to practice math sums. Ad free! maths practice..
Objective-C isn't what you think it is (if you think like a Rubyist)
Ruby and Objective-C look like opposites—one is dynamic, the other’s static; one is interpreted and the other’s compiled—but really they are cut from the same cloth. Here’s a look at Objective-C from a Rubyist’s perspective.
Testing complex conditionals
Testing complex conditionals - how to simplify nested contexts, and reduce overall tests paths.
Reading Rails - Real World Examples of the Adapter Pattern
Ack, I know design patterns! This time around instead of reading one specific class, we will be looking at a few real world examples of the Adapter Pattern in Rails. [more inside]
Redis scripting with MRuby
MRuby is a lightweight Ruby. It was created by Matz with the purpose of having an embeddable version of the language. This article covers how to enable Redis scripting with Ruby.
Ruby Gotchas that will come back to haunt you
Sooner or later, beginners or experienced programmers, we all run into so-called Ruby Gotchas – those small language subtleties that hide from our sight for hours of hardcore debugging.
Simple Honeypot for Rails Forms
Yeah, you can use a gem or, God forbid, a captcha, but a simple honeypot is easier than you think.
Authorization in a Service Oriented Architecture (Part 2)
The second in a series of posts on authorization in a Rails app, scaling, and moving away from CanCan.
Get Production Ready
I just launched Get Production Ready a mailing list for ruby on rails developers and business owners releasing web applications in production, and opening them to the public. [more inside]
AllJoyn and ITTIA DB SQL Embedded Database Ideal for the Internet of Everything
ITTIA DB SQL supports AllJoyn communications, which enables applications for embedded systems and mobile platforms to distribute data, and provides them with robust concurrent storage and replication capabilities. With this technology, applications can store data in a reliable local database file that is automatically sent to nearby devices when they connect to the same wired or wireless network.
Devise example app for Rails 4.1
The Rails and Devise starter app is the first Rails 4.1 example from the RailsApps project, featuring the new config/secrets.yml, and a choice of Bootstrap or Foundation.
Knowledge, Reality and Reconciling the Difference (Part 1)
What a system knows about a given moment in time and what really was at that same moment can differ. Allowing past knowledge to be revised, and taking remedial action when it is, is often complex. Let’s explore implementing both of these requirements using Ruby as our example language. Read part 1 (introduction).
Open Source Rails App To Support Your Culture
We’ve just launched HELP - a simple to run Rails app for making it easy to reach out for help within small and medium teams. Hope you’ll find it useful!
How I test Rails validations?
A new article How I test Rails validations?.
Mongoid and Aggregation Framework: Get similar elements based on tags, ordered by total number of ma
Sometimes using unwind can be really useful. Here’s an example on how to get similar documents, based on number of equal tags that they have: Mongoid and Aggregation Framework: Get similar elements based on tags,
Going down the rabbit hole of Ruby's object conversions
Sometimes too much magic might be a problem for your Ruby codebase, check out how Ruby’s implicit and explicit object conversions work and how you can use or remove them from your codebase.
ActiveAdmin Tips: Custom MetaSearch Filter
Ever needed a custom filter for an ActiveAdmin resource? I did, and this is how I did it.
Abril Pro Ruby 2014 announces its lineup
The full lineup of Abril Pro Ruby 2014, the Tropical Ruby Conference, was announced in the last week, along with a new day full of workshops. Come and meet top notch Rubyists from many parts of the world while having a great time exploring the stunning Porto de Galinhas beach, a paradise in the northeast of Brazil. The conference will also have fun activities, including scuba diving and raft boat sailing. The details about talks, activities and workshops are available at the conference website.
Rails Quick Tips - ActiveRecord Ordering
Turns out that using strings in your ActiveRecord query could be hurting you. Find out more at 11… or now, whatever’s better for you. Ordering via ActiveRecord is nothing new. You may be asking yourself, what could you possibly be informing us of and more importantly why is it hurting me??? [more inside]