status_for 0.0.4 → 0.0.5
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.
|
@@ -95,7 +95,7 @@ module StatusFor
|
|
|
95
95
|
|
|
96
96
|
module StatusInstanceMethods
|
|
97
97
|
|
|
98
|
-
def method_missing(method_id, subject_ids)
|
|
98
|
+
def method_missing(method_id, subject_ids, &block)
|
|
99
99
|
# This creates a method for instanced object called 'mark_as_status_for(subject)' that
|
|
100
100
|
# adds the subject id into relevant database column.
|
|
101
101
|
# Example: @message.mark_as_deleted_for(user)
|
data/lib/status_for/version.rb
CHANGED