Profile
Achievement
vanne's Recent Snippets
- All /
This is a prototype based method for loading functions, this is an alternative to using window.onload = function();
1
721
posted 17 years ago by vanne
A custom assertion that will allow you to pass a block to find the difference between two values.
1
686
posted 17 years ago by vanne
Useful for when you need to do a find and map specific results to an array for use later
1
817
posted 17 years ago by vanne
This is useful for using ActiveRecord validations without the ActiveRecord DB dependencies, this snippet is meant to be used with Textmate... create this in models/name_of_your_model to use.
4
1262
posted 18 years ago by vanne
This allows you to turn off ajax requests application wide, so that you don't have to do render :layout => false in every controller that needs it.
1
1051
posted 18 years ago by vanne