lib/dionysus/configuration.rb in dionysus-1.0.0 vs lib/dionysus/configuration.rb in dionysus-1.0.1

- old
+ new

@@ -115,10 +115,10 @@ ## # +true+ if the key is valid. def valid_key?( key ) return false if key.blank? key = _normalize_key(key).to_s - key =~ /^#{VALID_KEY}$/ and !self.methods.include?(key) + key =~ /^#{VALID_KEY}$/ and !self.methods.include?(key.to_sym) end ## # +true+ if the key is allowed. def allowed_key?( key )