set_man 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -163,7 +163,9 @@ module SetMan::ActiveRecord
|
|
163
163
|
protected
|
164
164
|
|
165
165
|
def to_sql
|
166
|
-
|
166
|
+
sql = SetMan::SqlConverter.to_sql(self[:value])
|
167
|
+
self[:value] = sql[0]
|
168
|
+
self[:klass] = sql[1]
|
167
169
|
end
|
168
170
|
|
169
171
|
def from_sql
|
data/lib/set_man/version.rb
CHANGED