lib/yodeler.rb in yodeler-0.0.8 vs lib/yodeler.rb in yodeler-0.0.9
- old
+ new
@@ -40,12 +40,9 @@
if block_given?
yield event_type_klass.configuration
end
- # Add the event type to the yodeler_event_types table
- event_type_klass.first_or_create name: event_type
-
# keep track of the registrations
Yodeler.registrations[event_type] = event_type_klass
event_type_klass
end