Symbols in rails

0

After creating a template in rails can you change the created symbol?

For example I created a template called transaction, rails creates in the plural transactions but would like to change that name for transactions is possible?

    
asked by anonymous 29.09.2017 / 02:18

1 answer

1

By changing the config / initializers / inflections.rb file you can configure pluralization in Rails. I recommend reading the Caelum handout to get a better understanding.

Handout ruby on rails - caelum

    
29.09.2017 / 16:44