Replaced .find(:all) with .all() (prepared for rails 4).
This commit is contained in:
parent
78c14e622a
commit
be1b38b91b
|
@ -1187,8 +1187,8 @@ Group.create_if_not_exists(
|
||||||
)
|
)
|
||||||
|
|
||||||
roles = Role.where( :name => 'Customer' )
|
roles = Role.where( :name => 'Customer' )
|
||||||
organizations = Organization.find( :all )
|
organizations = Organization.all
|
||||||
groups = Group.find( :all )
|
groups = Group.all
|
||||||
|
|
||||||
user = User.create_if_not_exists(
|
user = User.create_if_not_exists(
|
||||||
:login => '-',
|
:login => '-',
|
||||||
|
|
Loading…
Reference in a new issue