Displaying 2 results from an estimated 2 matches for "singular_rul".
Did you mean:
singular_rules
2005 Jul 06
1
Singularize bug?
...found the
"singularize" method in inflector.rb. I put a statement in there and it is
being called to singularize "RdfClass" and returns "RdfClas".
I''ve added:
[/(ss)$/i, ''\1''], # ADDED MAX
as the second last entry of the array returned by singular_rules in the same
file. Regexp were never my best friend, so there may be a better way of
doing this.
-max
2005 May 22
1
ActiveRecord: can not connect to mysql
...ems/1.8/gems/activesupport-1.0.4/lib/active_support/core_ext/string/../../inflector.rb:58:
warning: method redefined; discarding old plural_rules
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.4/lib/active_support/core_ext/string/../../inflector.rb:76:
warning: method redefined; discarding old
singular_rules
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.4/lib/active_support/clean_logger.rb:7:
warning: method redefined; discarding old
format_message
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.10.1/lib/active_record/validations.rb:277:
warning: `*'' interpreted as argument prefix
/us...