.find(:all) -> .all
This commit is contained in:
parent
e63bf074af
commit
e1d6605d23
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
Refinery::User.find(:all).each do |user|
|
||||
Refinery::User.all.each do |user|
|
||||
if user.plugins.where(:name => 'refinerycms_blog').blank?
|
||||
user.plugins.create(:name => "refinerycms_blog",
|
||||
:position => (user.plugins.maximum(:position) || -1) +1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue