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.
self-systeem
noun 1. a realistic respect for or favorable impression of one’s system 2. confidence in one’s system worth or abilities 3. system-respect [more inside]
Duplication in Tests Is Sometimes Good
Having powerful tools like RSpec gives us so much power, that what was once a nice suite of readable specs becomes a huge bunch of unreadable mess, just because someone tried to DRY it up. Continue reading →
Distribute your RubyMotion apps with TestFlight and HockeyApp
Over the past few episodes, we’ve created the Tasker application, which we polished off in Episode 21. Now it’s time to share it with our beta-testers. In this episode we explore how to set up your distribution certificates and provisioning profiles, and how to then get both TestFlight and HockeyApp set up to share your application around. This has been a highly requested topic from the RubyMotion community, and so I decided to show you how to use both TestFlight and HockeyApp instead of just one! [more inside]
Reform 1.0 – Form Objects For Ruby And Rails
The Reform gem turned 1.0! Its popular form objects have been simplified , the public API reduced and new features like automatic populating have been added. The new exciting Reform::Contract layer helps you decoupling persistance from validations - for good! Read the blog post here!
Lita 3.2 released, with new extension plugins
Version 3.2 of Lita, the programmable Ruby chat bot, has been released. There are several additions in this new version, most notably a new type of plugin, extensions, which can hook into Lita’s core to provide new features for other plugins.
Stop and Restart Easily a Rails Server
I wished if I could have convenient rails start, rails stop and rails restart commands to help me in the workflow. And in UNIX it is very easy to get.
Using the Cassandra Binary Protocol (CQL3) from Ruby!
Using Cassandra? Theo Hultberg’s Ruby client is worth a second look. [more inside]
Vim for Rubyist: 10 Useful Vim Plugins for Ruby Developer
I’ve made a list of vim plugins for better development with ruby.
ActiveInteraction 1.2.0 Released
ActiveInteraction helps clean up your Rails app with interactions that quack like ActiveModels. This latest release includes much improved form support, a decimal input filter, and support for modifying or disabling transactions.
Ninefold CLI Gem 1.5.0 Released - Now with db backup support
Ninefold gem to version 1.5.0. This updated release includes couple of new commands related to managing your database backups all from the command line. Learn more here: https://ninefold.com/news/cli150/
Proposal for a better Hash#include?
In the interest of making life easier for other Ruby developers (and myself, of course) I’ve written down a proposal for a better Hash#include? that would allow us to easily compare hashes with other hash in order to see if they contain a sub-set of one another. [more inside]
Gourmet Service Objects
I just wrote a blog post about Gourmet Service Object. Service Objects contains the business logic of your Rails app while keeping your controllers and models really thin. I’ve been using this pattern™ for about 3 years now, it helps me deliver clean, expressive and reusable code that’s easy to test.
Toro: Concurrent, extensible job queueing with PostgreSQL
Toro (similar to Sidekiq or Resque) runs on PostgreSQL and focuses on concurrency, visibility, extensibility, and durability. It lets you easily set custom, queryable properties about each job when it runs, lets you quickly surface detailed data about any jobs or types of jobs, and much more.
Configuring RSpec
After writing an RSpec Tutorial, I released the RailsApps Testing gem which sets up the testing framework by tweaking a few configuration files for popular gems.
ITTIA DB SQL Advances In-Memory Data Management for Embedded Systems
ITTIA DB SQL provides high-performance capabilities to retrieve data from very large in-memory storage (100 million+ records.) This technology is used in applications to find specific details in a very large data set and perform complex queries in seconds. This is especially beneficial for critical decision-makers that need to access sensitive information in real time.
How I Used ActiveRecord#serialize with a Custom Data Type
I just wrote about using ActiveRecord#serialize with a custom data type. Read how here.
7 Screencasts on advanced Rake usage
I just published a blog post with my 7-episode series on advanced Rake features all in once place.
Passing LISPy Code As data in Ruby
LISP is essentially boiled down into this for the Rubyist: you have lists, which can contain not just data, but code (functions), and to do that, sometimes a function can become a piece of data, be added to a list, queried as code again when the time calls for it. All in a lazy manner. Let me try to illustrate this for you in Ruby. [more inside]
Expanded DB support for Ninefold's Rails app deployment: MySQL & MongoDB
We are happy to announce that you can now leverage our easy app deployment with your own MySQL and MongoDB servers! Learn more here: https://ninefold.com/news/byod/.
After RailsConf: Should I Still Learn TDD?
I’ve written a lot about TDD. So, it’s no surprise that when I published my last article at almost the exact minute David Heinemeier Hansson mentioned TDD during his RailsConf keynote, I got some questions: Do you agree with DHH’s opinions on TDD? Do you still recommend TDD? If not, what should I do instead?
Add to a Mailchimp list using Gibbon in Ruby
I love Mailchimp and has recently started loving Gibbon too. I use it to add people to my Mailchimp lists.
Analytics System with Redis Part 2
We show you how to be the data collection using redis INCR and SETS Video / Article
OpenSource: Finally add LIKE button to your Spree store
Hey! We’ve just released an open source RoR-based extension allowing you to add a LIKE/FAV button to your Spree store. Feel free to grab one!
Analytics System with Redis Part 1
I just launched and yada yada. [more inside]