Flowdock
method

groups

Importance_1
Ruby on Rails latest stable (v5.2.3) - 0 notes - Class: Rails
groups(*groups) public

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 Rails.env == “development” # => [:default, “production”] for Rails.env == “production”

Show source
Register or log in to add new notes.