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.
Reading Rails - More Migrations
You probably use ActiveRecord on a daily basis, but how familiar are you with the actual code? [more inside]
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. [more inside]
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. [more inside]
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. [more inside]
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. [more inside]
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.
Is Ruby Dying?
I just collected some data on rubygems and included a writeup on it at Is Ruby Dying?. Code and graph included.
The next level of ruby on rails applications
Techniques including ruby on Rails Programing using database design and querying, HTML templating, HTTP, 3rd party service integration, securing against attackers, and scaling up to meet the needs of traffic. You have built great app using ruby on rails applications .
Capistrano recipe for your favourite CI
Now Capistrano pre-deploy check for CI build is moved into gem and supports different CI systems.
Super Bowl XLVIII (American Football) Fixtures and Match Picks (w/ Sportbook Rails Web App)
Hello, Still a little rough - I’ve reconfigured the sportbook (an open source Ruby on Rails web app for match picks/predictions) for the Super Bowl XLVIII (that is, for American Football). The sportdb gem lets you load the plain text fixtures into your SQL database of choice; see the american-football.db fixtures in plain text or served up via a web app or try the Super Bowl XLVIII picks demo (login with demo/demo). Cheers.