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.
Updated Rails 4 and Ruby 2 dictionaries for OS X Dictionary.app
Updated dictionaries for Rails 4.0.0rc2 and Ruby 2.0 are now available for download. Enjoy!
Innovating with HTTP 2.0 Server Push
HTTP 2.0 enables the server to send multiple responses for a single client request, which opens up an entire world of new optimization opportunities!
Nobody understands the GIL, Part 1
I started writing about how MRI implements its global interpreter lock (GIL), but ended up with an introduction to thread safety in Ruby. Check it out and look for the followup about the GIL tomorrow.
Optimise your Responsive design performances in 5 minutes
We recently had to optimise the reponsive design that we are currently creating, and I’ve written about our performance approach and you can read it here.
Automatic cloud-based image improvements and effects
This blog post introduces Cloudinary’s image improvement filters and effects. With these new capabilities, you can embed better looking images in your websites and mobile apps with ease. You can also mix and match multiple improvement filters together to create “artistic” results. Ruby on Rails sample code included.
Stubbing and Mocking with RSpec
Unit tests should focus on one thing: the component you are testing. Stubbing and Mocking in RSpec will get you there. Learn more in this screencast! [more inside]
gist-dep - New tool to easily share small bits of code between projects/developers
gist-dep is a command line tool that helps you share code between projects and developers. Written in Ruby but useful on any project. Common needs include JavaScript behavior and polyfills, Ruby monkey-patches and configuration code, etc. Whenever you have a bit of code you often use but it is too small/trivial to be managed as a full library gist-dep is an excellent alternative. Code snippets are stored on Github’s Gist system. The tool provides a quick way to add, update (both directions) and remove gists in a project.
Introducing Invoker - Manage processes in development envionment
We just launched invoker. A gem to manage processes. Do checkout.
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:
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.