4337 links
  • Arnaud's links
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
Links per page: 20 50 100
page 1 / 1
1 results tagged irregular x
  • Ruby on Rails: How do you explicitly define plural names and singular names in Rails? - Stack Overflow

    Framework counterpart.

    In config/initializers, you will find a file called inflections.rb. There are some instructions in here, but you will want something along the lines of:

    ActiveSupport::Inflector.inflections do |inflect|
    inflect.irregular 'bonus', 'bonuses'
    end

    January 5, 2016 at 2:23:33 PM GMT+1 - permalink - archive.org - http://stackoverflow.com/questions/3517989/ruby-on-rails-how-do-you-explicitly-define-plural-names-and-singular-names-in-r
    irregular plural rails
Links per page: 20 50 100
page 1 / 1
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Help/documentation