I've been using the following in my code:
RAILS_ENV == "development"
But now the younger rails people want me to use:
Because it's "nicer" they say.
RubyMine raises a warning stating it Cannot find 'development?' for type 'ActiveSupport::StringInquirer'.
But it seems to work, so is the warning incorrect?