An interesting discussion about to_yaml at:
http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/f1169cfa208b213f/ebc405161c018750#ebc405161c018750
Bottom line:
do a "require 'yaml'" if you want to use to_yaml with any of the objects.
Notes to self
Monday, March 17, 2008
Subscribe to:
Post Comments (Atom)
Blog Archive
-
▼
2008
(51)
-
▼
March
(12)
- Generating unique random numbers
- Ignoring files in SVN
- alias_method for class methods
- Loading fixtures separately
- to_yaml
- Types of forms in Rails
- Date and Time Functions in MySQL
- Rails Gotchas: Routes
- Integer division
- Column type mappings for databases
- Instlling a specific version of a gem
- and (&&) operand
-
▼
March
(12)
No comments:
Post a Comment