Tag Archives: Rails

With koudoku, integrating Stripe payments in Rails is a doddle

Most, if not all, SASS applications need some sort of payment integration to charge customers for subscriptions and repeatedly do it every month (or year or any time interval). if you are looking for one such payment-subscription solution, then Stripe … Continue reading

Posted in Programming | Tagged , , | 3 Comments

Rails inflections and the word ‘Equipment’

I was in two minds about this post’s title. On one hand, I think this should be called “Why googling is not the answer to every question?” and on the other hand the current title will probably interest more people. … Continue reading

Posted in Programming, Rant | Tagged | Leave a comment

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

Posted in Programming | Tagged , | Leave a comment

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

Posted in Programming | Tagged , , | Leave a comment

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

Posted in Programming | Tagged , , | Leave a comment

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

Posted in Programming | Tagged , , , | 1 Comment

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

Posted in Programming | Tagged , | 7 Comments

Gemcutter

Well, if you work with ruby and rails and you do not know what Gemcutter is then its time for you to come out of the rock you have been living under. It is the awesome gem hosting service that … Continue reading

Posted in ruby | Tagged , , , , | Leave a comment

IRB on roids

Any ruby developer knows about the interactive ruby shell or in short irb and I am quite sure they use it everyday for quickly testing little scripts out. And Rails offers its own console which is basically irb with rails … Continue reading

Posted in Rails, ruby | Tagged , | Leave a comment

rspec_rails is awesome

It is only when one has to muck about with other mocking libraries one realises how cool rspec_rails is? It bascially provides you so much “rails” functionality out of the box that mocking and stubbing feels like a walk in … Continue reading

Posted in Rails, rspec | Tagged , | Leave a comment