groups

groups(*groups)
Class Public methods

Returns all rails groups for loading based on:

  • The Rails environment;

  • The environment variable RAILS_GROUPS;

  • The optional envs given as argument and the hash with group dependencies;

    groups assets: [:development, :test]

    # Returns # => [:default, :development, :assets] for ::env == âdevelopmentâ # => [:default, :production] for ::env == âproductionâ

doc_ruby_on_rails
2015-06-20 00:00:00
Comments
Leave a Comment

Please login to continue.