search for: dontrepeatyourself

Displaying 3 results from an estimated 3 matches for "dontrepeatyourself".

Did you mean: dont_repeat_yourself
2008 Apr 29
5
Sharing: dont_repeat_yourself plugin custom RSpec matcher
I wrote a Rails plugin which uses simian to look for duplicates lines in your code and reports in html format, Textmate or Netbeans. I wrote it using RSpec and I have included a RSpec custom matcher: it { rails_application. with_threshold_of_duplicate_lines(4). should be_DRY } If you use Autotest, your specs will fail the next time you do a nasty copy-paste !!! More details in
2007 May 19
3
Capistrano installation error--Zlib buffer error
I''m trying to install Capistrano. When I run gem install Capistrano --include-dependencies, I get the following error: ERROR: While executing gem ... (Zlib::BufError) buffer error Anyone got any ideas what''s causing this and how I can fix it? I''d really like to use Capistrano to deploy my rails app, but I need to install it first.... Thanks, Myron -- Posted
2005 Aug 18
10
Scaffolding, DRY and RHTML
Hello all, I''m working on a couple of Rails projects at the moment and have noticed something that seems to go against the DRY principal. Why, when scaffolding, are individual CRUD rhtml files created instead of using one as a partial and having the others use that single partial? This especially applies to the list rhtml. I am about to get to the other operations and see how feasible