Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Don't define :column accessor for has_details

  • Loading branch information...
commit b088ffb33721d520525f583d63f886c9598c49ca 1 parent 44e285e
@tarmo tarmo authored erkki committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/has_details.rb
View
2  lib/has_details.rb
@@ -37,7 +37,7 @@ def has_details(options = {})
raise(ArgumentError, "You must be supply at least one field in the configuration hash") unless configuration.keys.size > 0
# raise(Exception, "A #{configuration[:column]} column must be present in the database for this plugin.") unless columns.include?(:details)
- serialize configuration[:column], Hash
+ serialize configuration.delete(:column), Hash
configuration.each do |f,t|
Please sign in to comment.
Something went wrong with that request. Please try again.