some notes before i forget
May 27th, 2007
over the weekend i developed a small web application for image hosting. i was surprised to see how much i accomplished in 1 day. but before i get to that, i have to write some notes about some things that i learned so i wont forget.
1. when copying over a plugin directory, double check that the files are in there!
2. act_as_authenticated has files in the lib folder!
3. use http://blog.evanweaver.com/articles/2007/01/13/growing-up-your-acts_as_taggable for taggable work. acts_as_polymorphs kicks major butt and thanks to the author of the plugin! you can use the cloud feature found on the acts_as_taggable wiki, but just replace the popularity field in the find_popular function with count.
4. write down all the passwords to all the domain names you use!
5. when using the directions from the blog above for taggable functionality, be sure to require the tag extension.rb file in the environments.rb!
6. increment and save a field just by using variable.increment! :columntoupdate
7. keep your layouts, partials, and templates in good form
8. be consistent with your function names, and file names!
.............