remove CostQuery example code

git-svn-id: https://dev.finn.de/svn/cockpit/branches/reporting_merge@1268 7926756e-e54e-46e6-9721-ed318f58905e
pull/6827/head
t.felgentreff 15 years ago
parent 4e2bb18b22
commit 69590757f2
  1. 9
      app/models/cost_query.rb

@ -12,15 +12,6 @@ class CostQuery < ActiveRecord::Base
@accepted_properties ||= []
end
# FIXME: (RE)MOVE ME
def self.example
@example ||= CostQuery.new.
filter(:user_id, :values => (1..3).to_a).
filter(:tweek, :operator => '<=', :value => '12').
column(:tweek).column(:tyear).
row(:project_id).row(:user_id)
end
def available_filters
CostQuery::Filter.all
end

Loading…
Cancel
Save