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.
European Robotics Leader Successfully Deploys with ITTIA DB SQL
ITTIA, the leader in modern database software for embedded systems and smart devices, today announced the successful deployment of ITTIA DB SQL embedded in Cow Master, an intelligent animal health care robotics system. This deployment continues the company’s constant progress in the human-to-machine and machine-to-machine sector, providing a more sophisticated and modern means for manufacturers to create new systems suitable for a 21st century lifestyle.
formula1.db - free public domain F1 / Formula One database n models in Ruby
I’ve added new tables n models to the sportdb gem to cover racing events such as the Formula One series. New models include tracks, races, runs, records, and more. See yesterday’s GP Canada race results or the Formula 1 Calendar 2013 for example. Build yourself a copy. More info. Cheers.
Rails Email Preview
I just released a new version of Rails Email Preview: [more inside]
New posts on the Learn Ruby on Rails from Beginners blog
Learn ruby on rails.The posts are notes by people who are learning to use rails to build apps as they struggle through their journey to bring their ideas to life. Quite an interesting and useful resource.
Porting Clojure's `iterate` to Ruby
After learning about Clojure’s iterate function, I wanted something similar in Ruby. I’ve also proposed it for Ruby 2.1.
Being paranoid with Ruby gems
We all know the unpleasant consequences if we were to accidentally run a malicious version of a Ruby gem. We all know the theory, but we don’t feel the actual pain yet. Read more: https://discuss.gemnasium.com/t/being-paranoid-with-ruby-gems/28
New Coding School in Utah - DevPoint Labs
DevPoint Labs just launched in Utah. We teach anyone to learn how to code in 11 intense weeks. Students learn ruby on rails in an immersive in person class located in Utah. We’re looking for some ruby mentors so if you’re in the area let us know.
JSON Web Token (JWT) library with signing and encryption
I just updated my my JSON Web Token library to support the latest version of JWT (draft-08), including all signature algorithms and the most popular encryption methods. If you’re doing anything with JWT then this is the most complete and up-to-date library available. It also supports pluggable signature/encryption methods if you need to do anything that’s an extension to the core specification.
Exodus: A migration Framework for MongoDb
If you have ever been using MongoDb you already know that MongoDb is a schema-less database, you don’t have any define structure within your collections (collections for MongoDb are the equivalent of tables for relational databases). To not worry about what is in your collection is really nice but when you have hundreds thousand/ millions of users data consistency becomes critical. [more inside]
RVM, Bundler and Cron in Production: Round 2
Back in 2010, we recommended using bash -l -c to run Ruby executables in Cron that needed the RVM environment. This was a brute approach, and there’s a better way: shell scripts. Here’s how we suggest running a Ruby executable with RVM and/or Bundler in Cron today.
vienna.rb Talks - Using Markdown for Websites, Presentations, or Books and Others
Last nights slides from the vienna.rb talk titled “Using Markdown for Websites, Presentations, or Books”. Use left/right cursor keys (or space bar) to browse the slides. Or check the all-in-one-page markdown source. More talks at the vienna.rb Slides page including “10 Things You Didn’t Know About Postgres”. Cheers. PS: For more Ruby meetups in Central Europe (Vienna, Brno, Bratislava) see “Coders without Borders”.
Apache (Passenger) Maintenance mode for Ruby on Rails application with Capistrano
I just wrote a tutorial on how to create a maintenance page for Passenger hosted Rails application and manage it with Capistrano tasks. You can check it our here: Apache (Passenger) Maintenance mode for Ruby on Rails application with Capistrano
Heroku Alternatives For Deploying Rails Applications
when it comes to deploying a Rails Application - Heroku is a default choice among most developers, Here are some good Heroku Alternatives for Rails Deployment ?
Testing Helpers in Padrino
I have written a new blog about testing helpers in Padrino. I’m sure the spec in this post can be written in a better way. Thanks for helping me out to improve it.
Attrio 0.3 released
We have just released Attrio 0.3. Nearly all core extensions after long discusion in my blog were removed. Also we added new specs and updated missing documentation. Here is a link to Attrio GitHub page: [more inside]
Last week for NickelCityRuby's CFP - Want to give a talk about something Ruby related? Submit!
I’m helping to organize NickelCityRuby in Buffalo, NY this September, and our CFP closes this week. You still have time to submit a talk! New speakers are welcome.
Protector: ORM security DSL
Meet Protector – the Ruby ORM extension for managing security restrictions on a field level. Check out GitHub’s README to know how and my article to know why.
Behavior-Driven Integration and Unit Testing
Traditionally application code is written first and tests afterwards. After writing a piece of code, you write unit tests. And once you finished a few pieces of code, you write integration tests to see if they fit together. In Behavior-Driven development there is an approach called Outside-In Development where we go the other way round. Have a look at this screencast to learn more! [more inside]
Using ember-auth with Rails 3 and Authlogic
Tutorial on how to use the ember-auth library to authenticate your Ember.js frontend with your Rails 3 backend using Authlogic. [more inside]
The Complete Guide to Environment Variables
This recent addition to the Phusion Passenger manual explains what environment variables are, how they work, and how to set them for different services (bash, Apache, Nginx, cron, Ruby apps)
Rails cache explained with example app & benchmark data
Probably caching in Rails is old phenomenon, but this article on Rails cache with Example app & some benchmark data is pretty good for someone looking to understand Rails cache from scratch & see it in action too.
Using frame_binding for great evil
After a discussion with a coworker, I decided to see if it was possible to extend Symbol#to_proc to invoke local methods (only for fun!). I discovered frame_binding from Ruby 2.0’s RubyVM::DebugInspector while hacking something together.
Build Your Own Real Estate Listing Service with Ruby on Rails and Sphinx Part 2
I just launched the second part Build Your Own Real Estate Listing Service with Ruby on Rails and Sphinx Part 2. Please take a look if you like.
5 developers-friendly (or not) European gateways
We recently had to test most of the European developer friendly gateway, so here are some names and what we think about them on our blog.