RailsCasts Pro episodes are now free!

Learn more or hide this

Aleks's Profile

GitHub User: aleks

Site: http://twitter.com/aleksm_

Comments by Aleks


I just read a 37signals post on their caching technique in Basecamp Next and came here for some informations about partial-caching etc.

I think David explains very well, how you can use a technique like this very smart, to get fast responses: http://37signals.com/svn/posts/3112-how-basecamp-next-got-to-be-so-damn-fast-without-using-much-client-side-ui


Wouldn't that be a good way to call an external API?

So you could easily switch between a internal Database or external datastorage.

How do you call external APIs?


Does someone of you use this gem and has custom validations in a model?

I have something like this, but ActiveAdmin ignores it.

validate :validate_me

def validate_me
  self.errors[:base] << "My error message" if my_validation(self.id) == true