Skip to content

Commit

Permalink
Removed scope out and unused parent attachments
Browse files Browse the repository at this point in the history
  • Loading branch information
codafoo authored and queso committed Apr 18, 2008
1 parent 97e1874 commit 0980981
Show file tree
Hide file tree
Showing 14 changed files with 1 addition and 703 deletions.
2 changes: 1 addition & 1 deletion app/controllers/attachments_controller.rb
Expand Up @@ -2,7 +2,7 @@ class AttachmentsController < ApplicationController
# GET /attachments
# GET /attachments.xml
def index
@attachments = Attachment.find_parent(:all)
@attachments = Attachment.find(:all)

respond_to do |format|
format.html # index.html.erb
Expand Down
2 changes: 0 additions & 2 deletions app/models/attachment.rb
Expand Up @@ -19,8 +19,6 @@
class Attachment < ActiveRecord::Base
belongs_to :page

scope_out :parent, :conditions => ["parent_id IS ?", nil]

has_attachment :storage => :file_system,
:thumbnails => { :thumb => [50, 50], :small => "100x100>", :large => "400x400>"},
:processor => :rmagick
Expand Down
106 changes: 0 additions & 106 deletions vendor/plugins/scope_out/README

This file was deleted.

22 changes: 0 additions & 22 deletions vendor/plugins/scope_out/Rakefile

This file was deleted.

2 changes: 0 additions & 2 deletions vendor/plugins/scope_out/init.rb

This file was deleted.

1 change: 0 additions & 1 deletion vendor/plugins/scope_out/install.rb

This file was deleted.

134 changes: 0 additions & 134 deletions vendor/plugins/scope_out/lib/scope_out.rb

This file was deleted.

4 changes: 0 additions & 4 deletions vendor/plugins/scope_out/tasks/active_finder_tasks.rake

This file was deleted.

18 changes: 0 additions & 18 deletions vendor/plugins/scope_out/test/database.yml

This file was deleted.

22 changes: 0 additions & 22 deletions vendor/plugins/scope_out/test/fixtures/schools.yml

This file was deleted.

55 changes: 0 additions & 55 deletions vendor/plugins/scope_out/test/fixtures/students.yml

This file was deleted.

0 comments on commit 0980981

Please sign in to comment.