-
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
Author Archives: andhapp
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
Bundler and Rails 2.3.8
Life as a “Rails Developer” is a pretty smooth sailing and Bundler just makes it ever better. Rails 2.3.8 is the newest version from the Rails team. Don’t get me wrong, I love to hack my way through Rails3 but … Continue reading
Quote of the day
“If Rails is a smart organised businessman then PHP is a homeless bum.” – an individual who spent hours looking at old skool PHP code
Quote of the day
Taken from StackOverflow podcast #85, and it is beautiful. “Even very smart people have to be in the right place at the right time to be successful. The best success strategy is probably dogged, bullheaded persistence, because there are so … Continue reading
Virtues of a Bad Programmer
In contrast to my earlier post. I am no expert to judge people based on their programming skills. I am a n00b myself. However, I do try and move away from the n00b junction all the time. Anyways, these are … Continue reading