Jay Fields' Thoughts
experiences in software development
Sunday, November 04, 2007
Rails: String#pluralize
›
Documentation Returns the plural form of the word in the string. Examples "post".pluralize #=> "posts" "octopus...
8 comments:
Saturday, November 03, 2007
Rails: String#camelize
›
Documentation By default, camelize converts strings to UpperCamelCase. If the argument to camelize is set to ":lower" then cameliz...
1 comment:
Friday, November 02, 2007
Rails: Hash#assert_valid_keys
›
Documentation None Usage Hash#assert_valid_keys gives you the ability to verify that each of the keys in the Hash are expected. For example,...
Thursday, November 01, 2007
Rails: Array#to_sentence
›
Documentation Converts the array to comma-seperated sentence where the last element is joined by the connector word. Options: :connector: Th...
3 comments:
2 weeks of ActiveSupport
›
Recently I was browsing ActiveSupport and noticed a few methods that I wasn't, but should have been using. This led me to the idea of do...
1 comment:
‹
›
Home
View web version