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