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.
dry_crud 2.0.0 is out
I just released dry_crud 2.0.0, a Rails generator for DRY and specifically extendable CRUD controllers, views and helpers. The widely restructured Ruby 1.9 code base now also supports Rails 4 and thoroughly follows the Ruby Style Guide.
ipswitch - a tool to migrate IP an addresse on the fly to another host without downtime
I just launched ipswitch, which helps you migrating/managing IP addresses (in your backnet) without any downtime via SSH. [more inside]
Nit Improves Your Git Workflow.
Nit was planned to save me from having to copy&paste file names when commiting with git. It’s now a handy tool helping you with your everyday git and worth a look.
Ruby on Rails with Nitrous.io
Nitrous.io is a hosted development environment with a web browser IDE. You can actually do coding without any files on your laptop. I wrote an article Ruby on Rails with Nitrous.io that shows how to get started and get productive.
Rails API performance tuning
I wrote a blog post about Rails API performance tuning about tools that I find useful and some common performance problems.
Intelligently preload Javascript with just Sprockets
Ever had heavy Javascript assets that were taking a while to download? Sprockets::Preload allows you to preload it using only the directives of Sprockets. Show your users nice loading bar instead of just white loading screen.
%w[Nicole Nice Jabberish Java].select &which{match /^Nic/}
red_bikini is something you come up with, when words ‘public_exec’ stalk you for couple days
GitLab Passenger privileges issues
Having weird errors when trying to to a web-based file update in one of your GitLab repos? You should check this short article on how to fix this.
Testing ContextValidations
I just posted an article on testing ContextValidations. This is a follow up post to DockYard’s announcement of the release of ContextValidations
iron_response: Gets a response object back from IronWorker
I just built iron_response, a gem that provides response objects for IronWorker tasks. This makes it much easier to write massively-scalable “concurrent” programs, without worrying about threads or server deployment.
Your favourite static code analyser RuboCop is now 0.11.0 versions old
The static code analyzer RuboCop just made it to version 0.11.0! The highlights include a handful of new checks, the ability to auto-generate a default config matching your existing project code style and about a dozen bug fixes and improvements. [more inside]
Make love, not Ruby core extensions
I just wrote a blog about why you should be careful using Ruby core extensions.
Parse WordPress style shortcode tags in Ruby
I’ve released a shortcode parser gem to provide a flexible way to define and parse WordPress style shortcode tags in Ruby https://github.com/kernow/shortcode
Restrict access to your Rails app with Exits
Hi there, I build this Exits because I wanted an easy way to handle restrictions in my rails application. [more inside]
Bank authentication with ImageMagick and Ruby
We don’t have any service like Yodlee.com providing secure access to the data, so this script did the job. [more inside]
football.db National Team Repos Updated - Gold Cup 2013, Confederations Cup 2013, World Cup Quali
The plain text football (soccer) teams, fixtures,results and more that you can read with the sportdb gem now include more int’l and continental tournaments in its own repos for easy management and contributions. Examples include the Gold Cup / Copa de Oro 2013, Confederations Cup 2013 Brazil, Africa Cup of Nations 2013, World Cup Brazil 2014 Qualifications, etc. More info. Cheers.
Manual Vs Automated continuous deployment
While not strictly limited to Ruby, continuous deployment is a topic in the community. I posted some thoughts on advantages/disadvantages of automating continuous deployments.
Wake Up and Smell the (Slow) Tests
Test-Driven-Development(TDD) suppose to help us being more productive. However, many projects I was on, the writing and running of the tests became painfully slow overtime. [more inside]
Ruby code highlighting with Prism.js on Github Pages
I’m trying out Prism.js for highlighting Ruby code on my Github Pages blog so I made a quick post on how to add it. Prism.js makes it very easy! Check it out and let me know how you think the code reads. - Tony
ruby-install 0.3.0 released - now supports downloading from mirrors and more
Since ftp.ruby-lang.org was down for maintenance, you had to download Ruby from a mirror. Luckily, ruby-install 0.3.0 now supports a mirror option: [more inside]