BrianLMatthews
BrianLMatthews
In a model I have: ``` field :exclusion, :type => Boolean ... track_history on: :all, modifier_field_inverse_of: false ``` When the document is initially created, the `exclusion` field doesn’t exist. Later...
Currently the maximum title length is a global configuration option. For the portion of my site which is indexed and user facing, the default of 70 is fine. However, a...
Consider: ``` require 'optparse' options = {} OptionParser.new do |opts| opts.banner = "Usage: #{$0} [options]" opts.on('-d', '--do-thing', 'Do a thing') do options[:do] = true end opts.on('-l', '--long-option', 'Here\'s an option...