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.
Get Rid of That Code Smell - Control Couple
If you want to learn about Control Couple code smell check out my next blog post from the Get Rid of That Code Smell series.
Synchronize VxWorks Data with Enterprise Databases Through ITTIA DB Sync
ITTIA DB SQL provides data distribution features for applications developed with ITTIA DB SQL on WindRiver’s VxWorks – the industry’s leading embedded real-time operating system – and enterprise databases such as Oracle, SQL Server, and MySQL. VxWorks developers can now take advantage of the advanced features, cross platform flexibility, and compliance with ANSI standards and SQL offered by ITTIA DB SQL for building mission critical applications.
Rails Internals: Mass Assignment Security
Another post in the rails internals series: Mass Assignment Security.
Tmux, for fun and profit
Pair programming at distance
Rails Observer Pattern
How to implement observer pattern in Rails.
ExceptionNotification release candidate
Release candidate for version 2.6.0 of Exception Notification is out! Please test it and submit your bugs/suggestions on Github. Final version will be out by the end of the week!!
You own a Kindle and want some tech books ? Be careful
Some Ebook publishers, don’t care about Kindle users: Read more
Driving Google Chrome via WebSocket API (and Ruby)
Chrome’s remote debugging allows you to easily drive the browser via a WebSocket: interact and modify the DOM, listen to network events, instrument the V8 VM, and much more! A hands on example of driving Chrome via Ruby + WebSockets.
On Railcar, an isolated Rails environment
I just posted a bit about the what and why of Railcar over at my blog. Check it out and find out how you can be involved!
Ruby on Rails image uploads with CarrierWave and Cloudinary
We’ve just published a post on our fresh new blog discussing image upload methods in Ruby on Rails. Specifically explaining the advantages of the CarrierWave GEM. The post also demonstrates how to integrate CarrierWave with Cloudinary for uploading images to the cloud, using smart image resizing, cropping, conversion and optimization and delivery through a fast CDN.
Sinatra Pusher example for realtime chat applications
I just knocked up an extremely simple application which uses Pusher app to integrate realtime chat to your web application. The application provides a nice start for someone looking to work with Pusher for realtime notifications and such. The application can be found here.
My gem for easy creating gh-pages is ready for beta-testing
If you need some opportunity in creation of github pages (or if you just lazy a little) - check this gem out
Introducing sheet: text snippets for the command line
I just launched sheet, a text snippet utility for the command line.
Learning with Terror...VM
I just blogged about some thoughts I got as a Ruby programmer about my recent experience diving into the low-level, dirty world of application Virtual Machines, building one myself.
Michael Hartl's Rails course on sale for 50% off
StackSocial is running a 2-week sale on the newest Rails 3 video tutorial by Michael Hartl of RailsTutorial fame - Normally $129, but only $59 during the promo.
Apple dropped MacRuby
Following Microsoft who dropped IronRuby in 2010, Apple dropped MacRuby.
Rails Internals: Inside Active Model Attribute Methods
First in a series of posts about Rails internals: Rails Internals: Inside Active Model Attribute Methods.
Cached Resource Updated
Cached Resource has been updated to be a little smarter about caching collections. Read more
Campy - a tiny Campfire Ruby client so you can get on with it
I released campy yesterday to slim down my dependency chain in a few projects (no requirements for streaming, locking rooms, etc.). It’s implemented on top of Net::HTTP and only requires the multi_json to deal with older Ruby versions. The Ruby library is pretty simple and it ships with the campy command for command line scripting. $ campy speak 'So enjoy!'
ActiveRecord::Base.store - Pros, Cons, and Usage
With the release of Rails 3.2 came a host of new features, in particular ActiveRecord. In this post, I discuss some of the pros and cons which come with using ActiveRecord::Store.
Why Is My Web Service API Crappy?
Christopher Miles has a great article: Why Is My Web Service API Crappy? and it’s definitely worth a read if you’re building externally facing APIs.
Global Hack Day #3 is today! (Apr 5)
The idea of having weekly or monthly hack nights has worked great for Ruby users groups all over the world, but the folks at Mendicant University feel like the internet deserves a similar kind of event. Read more
How to protect your model's fields + CanCan reinvented
We’ve released Heimdallr, comfortable black-list security restrictions for an ActiveRecord objects on a field level + controllers protection. Read the introduction article. Read more
Super Charge your Rails App with Rack Cache and Memcache
Get more performance out of your Rails app using Rack::Cache and memcache (with graphs, yay!). Works with Heroku!