lib/rhosync.rb in rhosync-2.0.0.beta11 vs lib/rhosync.rb in rhosync-2.0.0.beta12
- old
+ new
@@ -98,9 +98,11 @@
app.sources << source_name
end
# load ruby file for source adapter to re-load class
load under_score(source_name+'.rb')
end
+ # Create associations for all sources
+ Source.update_associations(app.sources.members)
end
end
# Generate admin user on first load
def create_admin_user
\ No newline at end of file