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.
Using Variant with Mobivious to render device specific views
I just wrote a blog post on using Variant + Mobvious to render views according to the type of device.
New RubyMotion Screencasts - MotionInMotion
I just launched MotionInMotion a few days ago. RubyMotion screencasts so you can write awesome iOS and OSX apps with Ruby! Use the coupon LAUNCH20 before 06/01/2014 to get 20% off your subscription forever!
Capistrano 3 version of deploying one or several Rails apps to a VPS
Following the popularity of the previous post on using Capistrano 2 to deploy one or more apps to a VPS, several people have asked about doing the same with Capistrano 3. So here’s an updated Capistrano 3 version, including sample code.
Lotus: Ruby full stack web framework
I’m pleased to announce Lotus: the Open Source project I’ve conceived, hacked and built during the last year. Read more
jubilee 1.1.0rc2 released
jubilee is a rack web server built upon vert.x for JRuby, it’s screamingly fast, while providing the best features of Vert.x such as Event bus, Shared data and Clustering. Checkout the demo application to see what it can do.
Reading Rails - More Migrations
You probably use ActiveRecord on a daily basis, but how familiar are you with the actual code? Read more
Omega: A Universe Over IP - v0.15.2 release
I invite everyone to checkout the latest release of the Omega Universe Simulator. Omega (based on the json-rpc protocol) provides access to query hierarchies of cosmos entities and manipulate player controlled ships and stations in an abstract / high-level manner. Read more
Writing a Ruby compiler bottom up, part 30 and 31
I’ve just posted part 31 of my series on writing a ruby compiler in Ruby - it covers basic String output and string interpolation. Also I believe I forgot to announce part 30 which removed the last tiny bit of C support code
Using New Relic Custom Metrics to Monitor All the Things
The New Relic agent gem is very interesting to look at to figure out how it hooks in to so many frameworks automatically. In addition it also exposes the same kind of tools to your code. Learn about this as well as New Relic custom metrics in the latest post on Tuts+.
ITTIA Updates Software for Large Data Management on Embedded Devices
ITTIA DB SQL tackles the growing challenge of how to analyze a large quantity of data quickly through a variety of complex queries. This provides high performance queries, reduced memory overhead, and more effective use of row-level locking for developers of embedded systems and mobile devices, with a choice of on-disk, in-memory, or hybrid storage options.
How to have a Devise remember_me option set to true by default
Let’s be honest, users don’t want to authenticate each time they open an app. Obviously we can’t do this for all applications due to security reasons, but there are some, that can benefit from having such feature. Here’s a short description on how to obtain it with Devise authenticating engine.
Similar images detection in Ruby - Part 1
I just wrote a blog post about detecting similar images with Ruby (and Rails) and posted it to our company’s blog.
How can Rails react to the rise of the JavaScript applications?
One of the ideas I’m suggesting is to bundle AngularJS with every new Rails app, by default. Technically speaking it’s a strange marriage, but from a marketing point of view that could be a huge win for both sides. Read more
Capistrano 3 + Nginx + Unicorn
Capistrano 3 + Nginx + Unicorn
Clean Architecture: a practical approach
We have taken a practical approach on one of the hottest topics of the moment in the rails community. It’s a revamp on the way you design your rails applications. Here is Clean Architecture: a practical approach, by Group Buddies.
Downloading files with Open-Uri and saving it using Paperclip
Sometimes it is worth having files/images that were embedded into comments/etc on your own server. Here’s an easy way on how to do it.
Rails and SOA: Do I really need to have this big app?
Step-by-step guide how to introduce Service Oriented Architecture to your Rails app. Read more
Tailing (streaming) log files with Capistrano V3
Tasks to tail log files were really useful in cap v2. So I’ve written a blog post about how to tail log files with Capistrano V3 for everyone who’s upgrading.
Exception Causes in Ruby 2.1
I dug into the new Exception#cause feature in Ruby 2.1 and wrote about what I found.
football.db - World Cup Brazil 2014 Plain Text Fixtures n HTTP JSON API
Hello, The plain text football (soccer) teams, fixtures, results and more that you can read with the sportdb gem now include all teams, groups, rounds and matches for the World Cup 2014 in Brazil. Import the plain text fixtures in your SQL database of choice or use the HTTP JSON API e.g. event/world.2014/teams or event/world.2014/round/1 and so on. All data, code and samples public domain. Enjoy. Cheers.
Short tutorial: how to upgrade to Devise 3
I wrote a short article which will help you to upgrade to Devise 3.2, if you still use Devise 2.x.
Ruby 2.1.0 is released
Kudos to ruby dev team. Ruby 2.1.0 is released …
RuboCop 0.16 released with support for Ruby 2.1
My Christmas gift for you is RuboCop 0.16! It adds Ruby 2.1 support, a few new cops (checks) and a ton of bug fixes and improvements. Have a look at the changelog for all the details. Read more
Ruby Docs - Fast and searchable Ruby and Rails docs
I just launched Ruby Docs, your new favorite Ruby and Rails docs. :) You can specify the exact version of Ruby and Rails you need, it’s searchable and super-fast. Let me know what you think!
Recording inbound Rack requests for test fixtures
Generating data for testing inbound webhooks can be tedious and error-prone. Here’s an approach I used recently to generate Rack fixture data on the fly.