Displaying 2 results from an estimated 2 matches for "ireuben".
Did you mean:
reuben
2005 Aug 07
1
get timezone abbreviation
This is probably more a Ruby than a rails question, but when I call
the method strftime("%Z") on a Time object, it returns the full time
zone name "Eastern Daylight Time". Is there a way to get the
Abbreviation instead?
2005 Aug 08
68
Pluralized Controller Names?
If I do:
script/generate controller Photo
I get a controller named photo_controller. OTOH, if I do:
script/generate scaffold Photo
I get a controller named photos_controller. (Note that the controller
name is pluralized).
I realize that I''m specifying the controller name explicitly in the
first case, but it seems
odd to me that the scaffold command generates a pluralized