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.
iOS Keychain Entitlements for Using RedLaser in RubyMotion
Because RedLaser accesses the iOS keychain, you need to request an entitlement when using RedLaser in a RubyMotion application. Here’s how.
Rails Apps Composer 2.0 is out
The Rails Apps Composer gem gives you a tool to assemble a Rails application from a collection of recipes. Use it to generate Rails starter apps. Version 2.0 is out with a new Guide to the Rails Apps Composer Gem. If you build Rails applications that use popular gems or add features such as authentication, you’ll save time with the rails_apps_composer gem. Plus you’ll benefit from the collaborative problem-solving of Rails developers who face the same challenges.
Adhearsion 2.1.0 is out with initial support for FREESWITCH
The Adhearsion team just launched v2.1.0 with a major new feature. It has been a long time coming and oft asked feature, and now Adhearsion has initial support for FREESWITCH. This expands Adhearsion’s vision of being the development framework for telephony. With support for Asterisk and PRISM.
Reddit on Rails: Part 1 [Exercise]
Follow along as I build Reddit on Rails and walk you through how to craft a web app from scratch.
GrabzIt, launches a new free service to take web screenshots with Ruby!
To use this service you use the free Ruby API, which offers many advanced features the full details of which can be found in the Ruby API Read more
Delegation is not inheritance
I just posted an article exploring an easy to mistake to make when using delegation to create proxy or wrapper objects like decorators in ruby.
Rails 3.2 + Backbone.js offline application
I just created mini-web-application Dreamy that works offline, as an example of usage Backbone.offline.
Release of 'Testing Framework' 0.4.0
I have just posted an article about new release of Testing Framework - 0.4.0. TF is used for testign RVM, check it out if you need to test shell scripts or validate something on server, it’s written in ruby and it’s easily extensible via plugins.
Generating video thumbnails from YouTube and other video sites
This blog post explains how to easily embed thumbnails of videos from YouTube, Vimeo, Hulu, Animoto and Dailymotion. Thumbnails can be automatically resized, cropped and transformed to match the graphic design of your website. Face detection can be used for better cropping. All thumbnails are cached and delivered through a CDN for better performance. Ruby on Rails sample code included.
A workaround for isolated tests with local steps in Cucumber
Here’s a workaround for making Cucumber steps local inside a scenario. It’s simple and ugly, but it works. In the post, I argue that all this focus on writing Cucumber steps “correctly” is misplaced. I believe that if we allow steps to be local inside a Cucumber Scenario, this becomes irrelevant. I argue that domain language concepts should not be the responsibility of Cucumber Steps; instead, domain language concepts should be the responsibility of Cucumber Scenarios.
Rejected by GoGaRuCo: Mocking Time.now for Faster Tests
I got turned down by GoGaRuCo. I wrote about how to mock Time.now for faster tests even if Josh Susser thinks You Shouldn’t Know How. Nah, not really - Josh is 200% a class act, but mocking Time.now is still a fun trick!
Databases & Rails: Week 8
This week we cover a veritable smorgasbord of topics in Databases & Rails: Week 8. We’ll talk about dealing with Nil and using Modules in Ruby. We are also going to cover importing data from a spreadsheet, rake, rubygems, bundler, and talk a little about Rail’s testing ecosystem. Enjoy!
Deploy your rails app on heroku
A complete howto to deploy your rails app on heroku.
jruby-memcached 0.3.0 released
I just released jruby-memcached 0.3.0, I have rewritten it by pure java code, about 10%-20% faster than 0.2.0, check out details here
A Secure, Reliable Event Tracking System for Online Betting using Rails
The French government legalized online betting in 2011 and created an Authority (named “ARJEL”) in charge of this new market. This authority enforces betting operators to follow a lot of technical rules; one of them being the tracking of all events in secure vaults. <a href=http://blog.tech-angels.com/post/28835549833/a-secure-and-reliable-event-tracking-system-for-online”>This article explains how Ruby was used to save us a lot of time.</a>
A Path To Rails 4 With MiniTest::Spec
Just a reminder that in Rails 4, ActiveSupport::TestCase will now subclass MiniTest::Spec. This means you will get all the benefits of Test::Unit style assertions with the flexibility of a spec syntax and added spec assertions. But why wait? Read more
Interactive Ruby Learning
This weekend, I gave a talk about Interactive Ruby Learning at my local ruby meetup to help some people to learn and practice Ruby skill in fun ways.
Checker - say goodbye to syntax errors
I wrote a blog post about a gem I contributed to - checker. It’s awesome tool that helps to keep your git commits clean of syntax errors.
Simple Ruby(Rails) Passenger memory consumption limit monitoring
Sometimes Passenger gets really naughty and grows rapidly, eating all available memory. I just wrote a post on how to protect our apps and servers from such problems. You can check it out in post titled: Simple Ruby(Rails) Passenger memory consumption limit monitoring
Social Media Monitoring Gem published
I just launched the social media monitoring gem. It connects to my API and it offers: * sentiment analysis (it’s basic at this point, however, it supports 6 different languages) * keyword tracking (SERP) * competitor search (while in beta launching in Germany, soon to launch in the USA) * Review tracking (Qype, Pointoo, Yelp, Tripadvisor, Golocal, wowarstdu.de, hotels.com and many others)
Ruby Refinements landed in trunk
Ruby Refinements landed in trunk.
An introduction to RepoManager, batch management of multiple Git repositories
Presenting RepoManager, a Ruby command line interface for batch management of multiple Git repositories.
RubyStack now with Rails 3.2.7 and Varnish
We just launched BitNami RubyStack 3.2.7. It simplifies the development and deployment of Ruby on Rails applications for development, testing and production. It can be deployed using a native installer for Windows, OS X or Linux, as a virtual machine or in the Amazon cloud. Thanks to the Amazon Free Tier, you can try BitNami RubyStack in the cloud for free during one year. Read more
API Taster 0.5.0 Released
API Taster is useful for visually testing your Rails application’s API. Version 0.5.0 has just landed with support for describing and adding metadata to API endpoints. Adding metadata is useful for say, adding response expectations so that your test suite could tap into them. :)
Parsing for Ruby that’s so easy it feels like cheating.
I ‘m ready to share Rattler with the community. Read more