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.
E-commerce, Shopping Carts, STOP DOING IT WRONG!!!
I create a new post on my e-commerce series. E-commerce Tips 1.2 (The Shopping Cart) go take a look. I’ve seen some really bad shopping carts in the past few years and I’m hoping people STOP DOING IT WRONG.
markdown 0.4 - Markdown Engine Wrapper Now Includes Command Line and Text Configuration
The Markdown Engine Wrapper (markdown) gem that lets you use your markdown library of choice now supports configuration using environment variables and markdown.yml files. The markdown gem now also includes a command line tool. Try markdown -h. Cheers.
Meet Ruroku, the better, object-oriented client for Heroku API
I just released my first ruby gem, Ruroku. It’s a better object-oriented ruby client for Heroku API, built on top of official heroku.rb.
Would love to hear some feedback on it.
Pull requests are welcome.
Run Ruby Test::Unit + Minitest + Shoulda by Line-number / Folder / the dozen
gem install testrbl # alias t=”testrbl” testrbl test/test_xxx.rb:8
Ruby Classes
I have just written a post on Ruby classes here is the link, being a newbie in ruby trying to understand ruby so just started with ruby classes.
eurucamp 2012 – Call for Proposals (CFP) now open
eurucamp 2012, the european Ruby camp, is now accepting proposals for sessions. Last year Rubyists from the Berlin community organised the camp+unconference eurucamp 2011. It ran parallel to the EuRuKo mega-event and was designed for those who wanted to come to Berlin but unable to get tickets to the main EuRuKo sessions. This year, we’re building upon the work done for eurucamp 2011, but transforming it into a standalone event.
Webistrano for your Capistrano
In continuation of the capistrano subject, we would like to introduce Webistrano, edited by Peritor. Webistrano is a web interface to the Capistrano tool. It pulls projects from a Git repository (in our case it’s github) and place the files on the web server. Webistrano allows to roll back to an earlier version in case of problem, it also keeps a log of every deployment. Most important, it allows users (our customers) to deploy without any direct access to servers. Read more
How to "Escape" from instance_eval
I wrote an article last night describing a fun little trick that allows you to “escape” from an instance_eval by (ab)using bindings and… more instance_eval.
Polymorphic with has_many :through
Just wrote a small blog post about Polymorphic Association with has_many :through
Get artistic w/ RubyMotion
I’ve written a blog post showing how to draw on an iOS device.
First beta of Capycorder released
I just launched released the first version of Capycorder, a small Chrome extension for recording of user interaction and generating Capybara request specs. The source can be found on Github and here’s a write–up with a few more details.
csv_validator for Rails
I just launched csv_validator, A CSV Validator for Rails 3, which can validate row and columns counts, as well as certain column contents (such as making sure a specified column contains only valid email addresses or numbers).
Screencast crowdsourcing
For the Pry, Clojure, and Emacs experts out there, here’s an educational screencast wish list (and yada yada).
SmartProperties
A gem that simplifies the process of creating more feature-rich accessors: SmartProperties. Besides an extensive README, there is also a short presentation that describes the key features of SmartProperties. The presentation is available on Speaker Deck.
Rounded Corners With Ruby Motion
I just published a new blog post, Rounded Corners With Ruby Motion. Goes through two ways I found to create rounded corners one being easy but problematic and the other a little more difficult but gives a lot more control.
Chrome Networking: DNS Prefetch & TCP Preconnect
Network latency is anything but free. To address this, Chrome learns the network topology as you use it via a number of predictor heuristics. Let’s take a peek under the hood of the Chrome networking stack and see how this can be applied to building faster web apps.
ryodo 0.1.0.1 released
I released ryodo, a gem for parsing domains against the public suffix list. As far as I know this gem is a little bit faster than public_suffix (factor 10). Read more about the background, examples and the benchmark.
Heroku Isn't for Idiots: developer time and comparative advantage
Just found this great little post Heroku Isn’t for Idiots and wanted to share. Hits a lot of points on why the author likes using Heroku, and has a good bit of technical information on Dynos and what Heroku does in the background.
Request authentication from the router with devise
Devise is an awesome authentication engine for Ruby on Rails. There’s already a ton of resources about this topic, so this post won’t be a presentation about it but will show you one of its more useful feature.
Joosy, the rails-tied browser app framework
We created a new JS framework that doesn’t clone anything existing but uses slightly different approach. Joosy we call it. And it’s tied to Rails heavily.
PrivatePub with logging and callbacks
I just launched my fork of private_pub with debugging and CoffeeScript version of assets. In TODO I want to add callbacks support after subscribing and unsubscribing feature.
Take the 2012 Ruby on Rails hosting survey
We ran a survey back in 2009 to gauge how the Rails community were managing their deployments… all the results were shared. [more inside]
Making Redis-store views cache work with simple Regexps
I’ve found a way to make Redis-store work with simple Regexps and also expire caches with wirdcard string (once that hit Redis Keys method). Check this out!