7. Repeat 1-6 until the money runs out Cucumber lets software development teams describe how software should behave in plain text. The text is written in a business-readable domain-specific language and serves as documentation, automated tests and development-aid - all rolled into one...
I recently figured out how to use Socket.io and Node.js to control the speed of a CSS3 animation with a synthesizer: I also got CoffeeScript playing drums for me with very little effort: You can do this too. I've started a new video series called Teaching The Robots To Sing , where I ...
rails_best_practices 1.8.0 released Posted by flyerhzm on February 24, 2012 — 0 comments I just released rails_best_practices 1.8.0, it adds not use time_ago_in_words check , provides better foreign key and routes analyzer, etc., check out the changelogs here
Ever wonder how to measure and tune your application's performance? In Performance Tuning Apache and Passenger , I show how we used httperf, htop, iftop, and a handful of other tools to measure, tune, and identify performance hotspots in your application. While this deals a lot with R...
February 24, 2012 Tagged: metrics refactoring turbulence Comments (View) Watch for turbulence How important is the refactoring you’re working on? Michael Feathers has a metric you should consider when deciding: plot the complexity against the churn. Chad Fowler’s turbulence gem does j...
February 24, 2012 Tagged: this week in open source open source gems ruby Comments (View) This week in open source shoulda shoulda is version 3.0.0! Someone needed to cut it, and Joe Ferris (jferris ) stepped up to make the release (4f0c363 ). high_voltage A new version of high_voltage...
Of course, I have to balance these hard-sell tactics with some plain speaking. This was not a straight meteoric rise, and the sad truth is I'm not just teaching you what I learned from success, but what I've learned from failure as well. I've done a few small gigs for tiny pay, and ag...
I sometimes think that Silicon Valley is this weird abstract hunting ground where Neo-Victorian aristocrats hunt and kill good ideas for sport, the same way their ancestors would have killed foxes. It's really hard to explain project managers and technology executives without postulat...
Very Quick, Inconsequential Archaeopteryx Hack Web Hacks: Hide Google+, HN Idiot Filter Hacker Newspaper: Temporary Editorial Decision Enhance Fifteen To Twenty-Three Libyans Rebels Hack Robot Weapons Coming Soon To Madison, Wisconsin... Little-Known Fun Fact: DNA Originated As Alien ...
August 6, 2009 Comments (View) Spy vs spy Update: this functionality has been extracted to the bourne gem . We’ve recently been making use of an alternative to the traditional mock-and-stub pattern common in Ruby: the Test Spy . What do you mean, spy? Test spies allow you to record me...
You might call this post Part 2 in a component based architecture series. The first post describes a solution for better organizing loosely-coupled, highly-cohesive components within a singe Rails application. This post describes a component based solution that aims to support vastly ...
Friday, February 24, 2012 at 5:46AM Sometimes, it's all you can do to stay a fixed amount behind. Rails Went Off The Rails: Why I'm Rebuilding Archaeopteryx In CoffeeScript - A classic Giles rant. Skip to the last paragraph for the summary "The Merb integration rewrite was a giant, ti...
February 21, 2012 See, what we have here is an Enumerization of the Virtus wherein Pelusa, the Deploy Doorkeeper, gets Kronk. It's on Ruby5... and pudding pops. Februry 17th, 2012 We've been tuning some parameters on the ArildBot 2000 and it sounds almost human in this episode. Februa...
'named_let(:name){ obj }' changes the value which returns 'obj#to_s' and 'obj#inspect' to :name, then output of 'rspec -format d' be improved more readable.
I'm facing a problem with Redmine. I set correctly the LDAP authentication, when I do the Test, it says it connects successfully. When I try to create a new user and set that Authentication mode will be using LDAP (Active Directory in my case) it will give me a error page (500). Looki...
Keep your controllers clean and forms flexible by adding virtual attributes to your model. This very powerful technique allows you to create form fields which may not directly relate to the database.
配列を生成します。size を指定したときにはその大きさの配列を 生成し nil で初期化します。第二引数 val も指定したとき には nil の代わりにそのオブジェクトを全要素にセットします。 (要素毎に val が複製されるわけではないことに注意してください。 全要素が同じオブジェクト val を参照しますtrap::Array )。 ruby 1.7 feature : 二番目の形式では引数に指定した配列を複製し て返します。 p Array.new([1,2,3]) # => [1,2,3] 三番目の形式では、ブロックの評価結果で値を設定します。ブロック...