Permalink
Browse files

make sequel happier

  • Loading branch information...
1 parent 11f03e9 commit c0fe5f6acfdf4cf49a4240596b40a27fde6e3a2c Dmitriy Kalinin and Mark Rushakoff committed Mar 26, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/cloud_controller/models/organization.rb
@@ -29,7 +29,9 @@ class InvalidDomainRelation < InvalidRelation; end
:user_guids, :manager_guids, :billing_manager_guids,
:auditor_guids, :domain_guids, :quota_definition_guid
- alias :billing_enabled? :billing_enabled
+ def billing_enabled?
+ billing_enabled
+ end
def before_create
add_inheritable_domains

0 comments on commit c0fe5f6

Please sign in to comment.