thoughtbot giant robots smashing into other giant robots We are thoughtbot , a web design and development agency in Boston, MA. twitter newsletter rss feed February 11, 2012 Tagged: hash syntax regular expressions ruby vim Comments (View) Convert Ruby 1.8 to 1.9 hash syntax In vim, fo...
Log In Support New Account Software/Group People Skill
@Mike: Just to clear the air, I hadn't seen your post (or even your blog, till now) and, unusually, didn't refer to or check against any other blog posts while writing this one. I had to do this process when I started a project for a new client in mid January where I referred to sever...
#169 Dynamic Page Caching (revised) Feb 11, 2012 | 7 minutes | Caching , Performance , Ajax Page caching is great for speeding up the performance of a page, but what if it contains user-specific content? Learn how to load content in dynamically through JavaScript in this episode. Subs...
The downside is that the new code comes with a good size learning curve. I would know because I recently battled through figuring it out so I could add support to the standard CSV library for nearly all of the encodings. It was a battle too. It's brave new territory and there's not a ...
著名な Rubyist にインタビューを行う企画「Rubyist Hotlinks」。 第 29 回となる今回は、日本における Ruby on Rails の第一人者で、Ruby のコミッタでもある松田明さんにお話を伺いました。松田さんは、フリーランスとして Rails プロジェクトをわたり歩いています。今回長時間に渡るインタビューでは、フリーランスという立場のあり方やソフトウェア開発の話にとどまらず、趣味の音楽や食べることについても、「こだわり」ということについても興味深いお話を語ってくれました。音楽との接し方が普通じゃない……、からこそ、プログラマとしても突き...
active_model_serializers 0.1.0 Making it easy to serialize models for client-side use install gem install active_model_serializers Download Documentation Subscribe Stats Authors José Valim, Yehuda Katz 194 total downloads 194 for this version Owners Bundler gem "active_model_serialize...
I was going to try and be clever and do a funny riff on this whole subject, but I just can't manage it. Here's the thing. Makefile was a dumb name for a file when Stuart Feldman wrote the make utility in 1977, but you have to forgive him because file systems were quite limited back th...
I am querying a database using DBI and ODBC. After I run the execute, I want to grab each row as an array, and add it to another array, essentially creating an Array of Arrays. I've tried this two ways with the same result: sth = dbh.execute("SELECT * FROM SOMETABLE") rows = sth.fetch...
At a recent conference , I had the privilege of attending a talk entitled “Developers Can’t Design (and other completely untrue design myths) ” by the incomparable Jen Myers . Jen is one of those rare individuals who effortlessly flows between design and development, having a formal e...
Petition: We Think RailsConf Sessions Should Be Recorded, Properly By Peter Cooper — May 7th, 2009 — 85 Comments In Events , News This year, RailsConf brought in a new idea of allowing people to record sessions themselves and upload them to blip.tv. The problem is, few people are carr...
a 0.1.1 Summary install gem install a Download Documentation Subscribe Stats Authors Author 2,700 total downloads 1,937 for this version Owners Links Homepage Bundler gem "a", "~> 0.1.1" Versions 0.1.1 May 27, 2010 0.1.0 May 27, 2010 Help Guides Blog Contribute Mobile Status Code Disc...
USAGE: rubydoctest [options] rubydoctest parses Ruby files (.rb) or DocTest files (.doctest) for irb-style sessions in comments, and runs the commented sessions as tests. Options: Output Format: --html - output in HTML format --plain - force output in plain text (no Ansi colors) Debug...
Designed for Rack, Unix, fast clients, and ease-of-debugging. We cut out everything that is better supported by the operating system, nginx or Rack . Compatible with both Ruby 1.8 and 1.9. Rubinius support is in-progress. Process management: Unicorn will reap and restart workers that ...
Ok, even though I haven't gotten the Mailer behaviour to work on my site yet. I have some notes here that might help others with testing their ActionMailer configuration. My environment: eApps (CentOS) Here's what I've done so far... TESTING with Telnet ==================== Tested my ...
Roodi stands for Ruby Object Oriented Design Inferometer. It parses your Ruby code and warns you about design issues you have based on the checks that is has configured.