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.
CGI.escape and "Undefined method 'bytesize' for nil:NilClass"
Solving this annoying error once and for all in your Rails applications.
Deploying WebP via Accept Content Negotiation (and Nginx)
A hands-on look at how to configure Nginx to transparently deliver and cache WebP assets via Accept negotiation.
9 Links From RailsConf Day 2
If you liked the RailsConf day 1 link roundup, here’s day 2. If you’re at RailsConf and want to get your link out there, just comment on the post. Normally wouldn’t post two days in a row but these seemed to be appreciated yesterday.
Xray-rails: reveal the structure of your UI
Check out xray-rails, a gem that’ll show you an overlay of the partials and Backbone views that were used to render your Rails app’s UI. Click any of the components to open the file in your editor.
So What, Exactly, Is the Purpose of a Rails Controller?
Getting back to the basics: trying to nail down the responsibilities of the oft-abused Rails controller.
22 Links From RailsConf Day 1
Eric Oestrich from SmartLogic rounded up a whole bunch of links to follow up on from the first day of RailsConf. Resources, upcoming events, and more.
Yet another class and instance methods definition
I just released gem smart_methods which helps to define class and instance methods using pretty DSL.
Scorched Earth game clone in Ruby
I’ve created Scorched Earth game clone in Ruby w\ OpenGL / Gosu. Any feedbacks and suggestions are appreciated.
Interview with Bradley Schaefer on joining the RSpec core team
Recently Bradley Schaefer joined the RSpec core team (along with Sam Phippen and Jon Rowe) under the leadership of Myron Marston and Andy Lindeman. Here is a brief interview with Bradley on contributing to RSpec and some of the current work of the RSpec team.
Rails STI vs. MySQL Views
I just finished article about Rails STI vs. MySQL Views.
A rubygem for natural spelling and grammar checker.
Just published, Gingerice, a Ruby wrapper of Ginger Proofreader which corrects spelling and grammar mistakes based on the context of complete sentences by comparing each sentence to billions of similar sentences from the web. Any feedbacks and suggestions are appreciated.
Monads the Heart of the Matter
Investigation of Haskell technique in your Ruby applications Monad the heart of matter.
Mustermann - your personal string matching expert
I published Mustermann, the string matching library that one day will power Sinatra 2.0.
Open Source Social Media Monitoring Version 2.0. from Apphera
I am thrilled to announce version 2.0. of our open source social media solution. You can get it from Github and all related information at: https://github.com/Apphera/social-media-monitoring-open-source [more inside]
Test your Adword campaigns cheaply with Mechanical Turk.
Run Adword simulations with this Rails application and Mechanical Turk.
eurucamp 2013 Call for Proposals is now open!
eurucamp, the European Ruby Camp hosted by the Berlin Ruby community, returns this summer (16 - 18 August). Our CFP is open from now until 15 May. We’re especially enthused by proposals from first-time speakers. [more inside]
Combine Coveralls and Codeship to track your code coverage
When starting with continuous integration and deployment, code coverage is one of the tools that improve your workflow significantly. Being able to quickly grasp which parts of your application aren’t well tested is incredibly important. Especially tracking your code coverage over time is a powerful feature. [more inside]
SecondLevelCache Is Rails4 Ready
SecondLevelCache is a write-through and read-through caching library inspired by Cache Money and cache_fu, support ActiveRecord 4. [more inside]
Don't use STI in your Rails Apps
I just post a blog post about STI and where it could takes you. Don’t use STI in your rails apps explain what STI about and why you should not use it.
For both new and experienced users of th...
For both new and experienced users of the Ruby programming language, the significance of available Ruby versions and runtimes can be daunting. In many cases, the “pre-installed” Ruby is too old, even on operating systems released as frequently as a year ago. [more inside]
A Rails Beginner Cheat Sheet
I just created a Rails Beginner Cheat Sheet aimed at helping beginners remember all those basic concepts and commands, hopefully making their start into Ruby and Rails smoother. Feedback very welcome =)
Deploying Ruby on Rails app on OPENSHIFT in rails
I just posted Deploying Ruby on Rails app on OPENSHIFT on my blog.
Instrumenting Ruby on Rails with TraceView in under 10 minutes
Setting up TraceView for Ruby in under 10 minutes. TraceView provides Ruby application performance monitoring including browser pageloads, memcache-client, memcached, Dalli, Mongo, Moped, Mongoid, MongoMapper, Cassandra, ActiveRecord (Postgres, Mysql, Mysql2) plus more. Most recently we added support for Rack and Resque tracing.
From Test-Driven Development to Behavior-Driven Development
Test-driven development focuses on the developer’s opinion on how parts of the software should work. Behavior-driven development focuses on the users’ opinion on how they want your application to behave. [more inside]