-
Archives
- November 2011
- April 2011
- March 2011
- January 2011
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- April 2009
- March 2009
- February 2009
- December 2008
- September 2008
- June 2008
- May 2008
- March 2008
- February 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
-
Meta
Category Archives: Programming
Using cucumber-0.9.2 and cucumber-rails-0.3.2 with I18n
I have previously, blogged about using factory_girl with clearance and this post (quite similar to that one) describes the need to use messages (notice, success or failure) in your locale file with cucumber and how to go about using them. … Continue reading
Rails3 and rspec-rails-2.0.0.beta20 and cucumber-rails-0.3.2
Last week, I started a Rails3 project and considering I am sucker for TDD. I added the current stable versions of rspec-rails and cucumber-rails to the Gemfile. Now, this is a simple project (and honestly speaking I could have just … Continue reading
Ruby 1.9.2 and RVM
RVM is no doubt an amazing piece of code. It just makes life so much easier. Ruby 1.9.2 is out. Woo-hoo! and I tried installing it with rvm only to encounter an error. I fixed the error and this post … Continue reading
Reading Open Source Code
I was very confused the first time I heard this phrase – “Read Open source code”. I could not really grasp the concept of reading someone else’s code. How can that improve your own programming skills? But, I can safely … Continue reading
Bundler 1.0.0.beta.5 and Rails 2.3.8
I wrote about Bundler a couple of months ago. With newer versions of bundler out two of my issues at that time, using engines and issues with time_zone have been resolved. I am currently using bundler 1.0.0.beta.5 with a rails … Continue reading
Extend Paperclip 2.3.1.1 to retrieve attachment’s dimensions in Rails 2.3.8
In my previous post, I mentioned a way of validating the size of the attachment and I did warn readers that it is a monkey-patch and it needs serious refactoring. Big refactoring is a result of several small ones and … Continue reading
Paperclip 2.3.1.1 and validate attachment’s dimension
Paperclip is an easy-to-use file upload gem released by Thoughtbot. It provides several validations out of the box like validation on size (as in file size) of the attachment, if the attachment is present or not and so on. However, … Continue reading
Bundler 0.9.25, Rails 2.3.8 and vendor/gems has no specification file error
Majority of us have seen this dreadful error after running rake:gems:unpack or a similar command to register gems with the application. config.gem: Unpacked gem clearance-0.8.8 in vendor/gems has no specification file. Run ‘rake gems:refresh_specs’ to fix this. I was under … Continue reading
When Safari 5′s Reader feature fails
Safari 5 is awesome and one thing that sticks out is the Reader feature. It basically identifies some pages, for example: news pages on BBC, and allows user to produce a better, enhanced page with same text but much readable … Continue reading
Jquery, JSSpec and an elegant timepicker
Time selection via web has always been those grey areas where one does not really find good solutions. With the advent of Jquery, there are plethora of date selection javascripts out there. However, time selection has not received similar treatment. … Continue reading