Removed annoate and hirb Gemfiles.

Annotate: Better look in schema.rb, this reference should be always up
to date.

Hirb: To reactivate hirb, look in railscasts:
http://railscasts.com/episodes/48-console-tricks-revised
This commit is contained in:
benni 2012-07-27 18:07:42 +02:00
parent af3c07f031
commit 8a74e7d77f
67 changed files with 1 additions and 1056 deletions

View File

@ -20,11 +20,6 @@ gem 'localize_input', :git => "git://github.com/bennibu/localize_input.git"
gem 'acts_as_configurable'
gem 'wikicloth'
group :development do
gem 'annotate'
gem 'hirb'
end
group :production do
gem 'exception_notification', :require => 'exception_notifier'
end

View File

@ -35,7 +35,6 @@ GEM
activesupport (= 3.0.12)
activesupport (3.0.12)
acts_as_configurable (0.0.8)
annotate (2.4.0)
arel (2.0.10)
builder (2.1.2)
client_side_validations (3.0.4)
@ -47,7 +46,6 @@ GEM
fastercsv (1.5.4)
haml (3.1.4)
has_scope (0.5.0)
hirb (0.3.4)
i18n (0.5.0)
inherited_resources (1.2.2)
has_scope (~> 0.5.0)
@ -125,12 +123,10 @@ PLATFORMS
DEPENDENCIES
acts_as_configurable
annotate
client_side_validations
exception_notification
fastercsv
haml
hirb
inherited_resources
jquery-rails
localize_input!

View File

@ -5,12 +5,3 @@ class ArticleCategory < ActiveRecord::Base
end
# == Schema Information
#
# Table name: article_categories
#
# id :integer(4) not null, primary key
# name :string(255) default(""), not null
# description :string(255)
#

View File

@ -31,16 +31,3 @@ class ArticlePrice < ActiveRecord::Base
end
end
# == Schema Information
#
# Table name: article_prices
#
# id :integer(4) not null, primary key
# article_id :integer(4)
# price :decimal(8, 2) default(0.0), not null
# tax :decimal(8, 2) default(0.0), not null
# deposit :decimal(8, 2) default(0.0), not null
# unit_quantity :integer(4)
# created_at :datetime
#

View File

@ -15,13 +15,3 @@ class Assignment < ActiveRecord::Base
end
# == Schema Information
#
# Table name: assignments
#
# id :integer(4) not null, primary key
# user_id :integer(4) default(0), not null
# task_id :integer(4) default(0), not null
# accepted :boolean(1) default(FALSE)
#

View File

@ -19,14 +19,3 @@ class Delivery < ActiveRecord::Base
end
# == Schema Information
#
# Table name: deliveries
#
# id :integer(4) not null, primary key
# supplier_id :integer(4)
# delivered_on :date
# created_at :datetime
# note :text
#

View File

@ -15,15 +15,3 @@ class FinancialTransaction < ActiveRecord::Base
end
end
# == Schema Information
#
# Table name: financial_transactions
#
# id :integer(4) not null, primary key
# ordergroup_id :integer(4) default(0), not null
# amount :decimal(8, 2) default(0.0), not null
# note :text default(""), not null
# user_id :integer(4) default(0), not null
# created_on :datetime not null
#

View File

@ -25,32 +25,3 @@ class Group < ActiveRecord::Base
end
# == Schema Information
#
# Table name: groups
#
# id :integer(4) not null, primary key
# type :string(255) default(""), not null
# name :string(255) default(""), not null
# description :string(255)
# account_balance :decimal(8, 2) default(0.0), not null
# account_updated :datetime
# created_on :datetime not null
# role_admin :boolean(1) default(FALSE), not null
# role_suppliers :boolean(1) default(FALSE), not null
# role_article_meta :boolean(1) default(FALSE), not null
# role_finance :boolean(1) default(FALSE), not null
# role_orders :boolean(1) default(FALSE), not null
# weekly_task :boolean(1) default(FALSE)
# weekday :integer(4)
# task_name :string(255)
# task_description :string(255)
# task_required_users :integer(4) default(1)
# deleted_at :datetime
# contact_person :string(255)
# contact_phone :string(255)
# contact_address :string(255)
# stats :text
# task_duration :integer(4) default(1)
#

View File

@ -92,16 +92,3 @@ class GroupOrder < ActiveRecord::Base
end
# == Schema Information
#
# Table name: group_orders
#
# id :integer(4) not null, primary key
# ordergroup_id :integer(4) default(0), not null
# order_id :integer(4) default(0), not null
# price :decimal(8, 2) default(0.0), not null
# lock_version :integer(4) default(0), not null
# updated_on :datetime not null
# updated_by_user_id :integer(4)
#

View File

@ -181,16 +181,3 @@ class GroupOrderArticle < ActiveRecord::Base
end
# == Schema Information
#
# Table name: group_order_articles
#
# id :integer(4) not null, primary key
# group_order_id :integer(4) default(0), not null
# order_article_id :integer(4) default(0), not null
# quantity :integer(4) default(0), not null
# tolerance :integer(4) default(0), not null
# updated_on :datetime not null
# result :decimal(8, 3)
#

View File

@ -11,14 +11,3 @@ class GroupOrderArticleQuantity < ActiveRecord::Base
end
# == Schema Information
#
# Table name: group_order_article_quantities
#
# id :integer(4) not null, primary key
# group_order_article_id :integer(4) default(0), not null
# quantity :integer(4) default(0)
# tolerance :integer(4) default(0)
# created_on :datetime not null
#

View File

@ -37,15 +37,3 @@ class Invite < ActiveRecord::Base
end
# == Schema Information
#
# Table name: invites
#
# id :integer(4) not null, primary key
# token :string(255) default(""), not null
# expires_at :datetime not null
# group_id :integer(4) default(0), not null
# user_id :integer(4) default(0), not null
# email :string(255) default(""), not null
#

View File

@ -19,22 +19,3 @@ class Invoice < ActiveRecord::Base
end
# == Schema Information
#
# Table name: invoices
#
# id :integer(4) not null, primary key
# supplier_id :integer(4)
# delivery_id :integer(4)
# order_id :integer(4)
# number :string(255)
# date :date
# paid_on :date
# note :text
# amount :decimal(8, 2) default(0.0), not null
# deposit :decimal(8, 2) default(0.0), not null
# deposit_credit :decimal(8, 2) default(0.0), not null
# created_at :datetime
# updated_at :datetime
#

View File

@ -16,12 +16,3 @@ class Membership < ActiveRecord::Base
end
end
# == Schema Information
#
# Table name: memberships
#
# id :integer(4) not null, primary key
# group_id :integer(4) default(0), not null
# user_id :integer(4) default(0), not null
#

View File

@ -86,17 +86,3 @@ class Message < ActiveRecord::Base
end
# == Schema Information
#
# Table name: messages
#
# id :integer(4) not null, primary key
# sender_id :integer(4)
# recipients_ids :text
# subject :string(255) not null
# body :text
# email_state :integer(4) default(0), not null
# private :boolean(1) default(FALSE)
# created_at :datetime
#

View File

@ -220,18 +220,3 @@ class Order < ActiveRecord::Base
end
# == Schema Information
#
# Table name: orders
#
# id :integer(4) not null, primary key
# supplier_id :integer(4)
# note :text
# starts :datetime
# ends :datetime
# state :string(255) default("open")
# lock_version :integer(4) default(0), not null
# updated_by_user_id :integer(4)
# foodcoop_result :decimal(8, 2)
#

View File

@ -130,17 +130,3 @@ class OrderArticle < ActiveRecord::Base
end
# == Schema Information
#
# Table name: order_articles
#
# id :integer(4) not null, primary key
# order_id :integer(4) default(0), not null
# article_id :integer(4) default(0), not null
# quantity :integer(4) default(0), not null
# tolerance :integer(4) default(0), not null
# units_to_order :integer(4) default(0), not null
# lock_version :integer(4) default(0), not null
# article_price_id :integer(4)
#

View File

@ -7,14 +7,3 @@ class OrderComment < ActiveRecord::Base
validates_length_of :text, :minimum => 3
end
# == Schema Information
#
# Table name: order_comments
#
# id :integer(4) not null, primary key
# order_id :integer(4)
# user_id :integer(4)
# text :text
# created_at :datetime
#

View File

@ -97,32 +97,3 @@ class Ordergroup < Group
end
# == Schema Information
#
# Table name: groups
#
# id :integer(4) not null, primary key
# type :string(255) default(""), not null
# name :string(255) default(""), not null
# description :string(255)
# account_balance :decimal(8, 2) default(0.0), not null
# account_updated :datetime
# created_on :datetime not null
# role_admin :boolean(1) default(FALSE), not null
# role_suppliers :boolean(1) default(FALSE), not null
# role_article_meta :boolean(1) default(FALSE), not null
# role_finance :boolean(1) default(FALSE), not null
# role_orders :boolean(1) default(FALSE), not null
# weekly_task :boolean(1) default(FALSE)
# weekday :integer(4)
# task_name :string(255)
# task_description :string(255)
# task_required_users :integer(4) default(1)
# deleted_at :datetime
# contact_person :string(255)
# contact_phone :string(255)
# contact_address :string(255)
# stats :text
# task_duration :integer(4) default(1)
#

View File

@ -52,19 +52,3 @@ class Page < ActiveRecord::Base
end
end
# == Schema Information
#
# Table name: pages
#
# id :integer(4) not null, primary key
# title :string(255)
# body :text
# permalink :string(255)
# lock_version :integer(4) default(0)
# updated_by :integer(4)
# redirect :integer(4)
# parent_id :integer(4)
# created_at :datetime
# updated_at :datetime
#

View File

@ -1,27 +1,3 @@
# == Schema Information
# Schema version: 20090102171850
#
# Table name: articles
#
# id :integer(4) not null, primary key
# name :string(255) not null
# supplier_id :integer(4) not null
# number :string(255)
# note :string(255)
# manufacturer :string(255)
# origin :string(255)
# unit :string(255)
# price :decimal(8, 2) default(0.0), not null
# tax :decimal(3, 1) default(7.0), not null
# deposit :decimal(8, 2) default(0.0), not null
# unit_quantity :decimal(4, 1) default(1.0), not null
# scale_quantity :decimal(4, 2)
# scale_price :decimal(8, 2)
# created_on :datetime
# updated_on :datetime
# list :string(255)
#
class SharedArticle < ActiveRecord::Base
# connect to database from sharedLists-Application

View File

@ -14,26 +14,3 @@ class SharedSupplier < ActiveRecord::Base
end
# == Schema Information
#
# Table name: suppliers
#
# id :integer(4) not null, primary key
# name :string(255) not null
# address :string(255) not null
# phone :string(255) not null
# phone2 :string(255)
# fax :string(255)
# email :string(255)
# url :string(255)
# delivery_days :string(255)
# note :string(255)
# created_on :datetime
# updated_on :datetime
# lists :string(255)
# bnn_sync :boolean(1) default(FALSE)
# bnn_host :string(255)
# bnn_user :string(255)
# bnn_password :string(255)
#

View File

@ -41,29 +41,3 @@ class StockArticle < Article
end
end
# == Schema Information
#
# Table name: articles
#
# id :integer(4) not null, primary key
# name :string(255) default(""), not null
# supplier_id :integer(4) default(0), not null
# article_category_id :integer(4) default(0), not null
# unit :string(255) default(""), not null
# note :string(255)
# availability :boolean(1) default(TRUE), not null
# manufacturer :string(255)
# origin :string(255)
# shared_updated_on :datetime
# price :decimal(8, 2)
# tax :float
# deposit :decimal(8, 2) default(0.0)
# unit_quantity :integer(4) default(1), not null
# order_number :string(255)
# created_at :datetime
# updated_at :datetime
# deleted_at :datetime
# type :string(255)
# quantity :integer(4) default(0)
#

View File

@ -16,16 +16,3 @@ class StockChange < ActiveRecord::Base
end
end
# == Schema Information
#
# Table name: stock_changes
#
# id :integer(4) not null, primary key
# delivery_id :integer(4)
# order_id :integer(4)
# stock_article_id :integer(4)
# quantity :integer(4) default(0)
# created_at :datetime
# stock_taking_id :integer(4)
#

View File

@ -12,13 +12,3 @@ class StockTaking < ActiveRecord::Base
end
end
# == Schema Information
#
# Table name: stock_takings
#
# id :integer(4) not null, primary key
# date :date
# note :text
# created_at :datetime
#

View File

@ -67,25 +67,3 @@ class Supplier < ActiveRecord::Base
end
end
# == Schema Information
#
# Table name: suppliers
#
# id :integer(4) not null, primary key
# name :string(255) default(""), not null
# address :string(255) default(""), not null
# phone :string(255) default(""), not null
# phone2 :string(255)
# fax :string(255)
# email :string(255)
# url :string(255)
# contact_person :string(255)
# customer_number :string(255)
# delivery_days :string(255)
# order_howto :string(255)
# note :string(255)
# shared_supplier_id :integer(4)
# min_order_quantity :string(255)
# deleted_at :datetime
#

View File

@ -74,21 +74,3 @@ class Task < ActiveRecord::Base
end
end
# == Schema Information
#
# Table name: tasks
#
# id :integer(4) not null, primary key
# name :string(255) default(""), not null
# description :string(255)
# due_date :date
# done :boolean(1) default(FALSE)
# workgroup_id :integer(4)
# assigned :boolean(1) default(FALSE)
# created_on :datetime not null
# updated_on :datetime not null
# required_users :integer(4) default(1)
# weekly :boolean(1)
# duration :integer(4) default(1)
#

View File

@ -193,21 +193,3 @@ class User < ActiveRecord::Base
end
# == Schema Information
#
# Table name: users
#
# id :integer(4) not null, primary key
# nick :string(255) default(""), not null
# password_hash :string(255) default(""), not null
# password_salt :string(255) default(""), not null
# first_name :string(255) default(""), not null
# last_name :string(255) default(""), not null
# email :string(255) default(""), not null
# phone :string(255)
# created_on :datetime not null
# reset_password_token :string(255)
# reset_password_expires :datetime
# last_login :datetime
#

View File

@ -67,32 +67,3 @@ class Workgroup < Group
end
# == Schema Information
#
# Table name: groups
#
# id :integer(4) not null, primary key
# type :string(255) default(""), not null
# name :string(255) default(""), not null
# description :string(255)
# account_balance :decimal(8, 2) default(0.0), not null
# account_updated :datetime
# created_on :datetime not null
# role_admin :boolean(1) default(FALSE), not null
# role_suppliers :boolean(1) default(FALSE), not null
# role_article_meta :boolean(1) default(FALSE), not null
# role_finance :boolean(1) default(FALSE), not null
# role_orders :boolean(1) default(FALSE), not null
# weekly_task :boolean(1) default(FALSE)
# weekday :integer(4)
# task_name :string(255)
# task_description :string(255)
# task_required_users :integer(4) default(1)
# deleted_at :datetime
# contact_person :string(255)
# contact_phone :string(255)
# contact_address :string(255)
# stats :text
# task_duration :integer(4) default(1)
#

View File

@ -22,9 +22,4 @@ Foodsoft::Application.configure do
# Only use best-standards-support built into browsers
config.action_dispatch.best_standards_support = :builtin
end
# Enable hirb for better console formatting
require "hirb"
Hirb.enable
end

View File

@ -7,12 +7,3 @@ vegi:
other:
name: Other stuff
# == Schema Information
#
# Table name: article_categories
#
# id :integer(4) not null, primary key
# name :string(255) default(""), not null
# description :string(255)
#

View File

@ -36,16 +36,3 @@ applejuice1:
deposit: 0.15
created_at: <%= Time.now.to_s(:db) %>
# == Schema Information
#
# Table name: article_prices
#
# id :integer(4) not null, primary key
# article_id :integer(4)
# price :decimal(8, 2) default(0.0), not null
# tax :decimal(8, 2) default(0.0), not null
# deposit :decimal(8, 2) default(0.0), not null
# unit_quantity :integer(4)
# created_at :datetime
#

View File

@ -81,26 +81,3 @@ applejuice:
# == Schema Information
#
# Table name: articles
#
# id :integer(4) not null, primary key
# name :string(255) not null
# supplier_id :integer(4) not null
# number :string(255)
# note :string(255)
# manufacturer :string(255)
# origin :string(255)
# unit :string(255)
# price :decimal(8, 2) default(0.0), not null
# tax :decimal(3, 1) default(7.0), not null
# deposit :decimal(8, 2) default(0.0), not null
# unit_quantity :decimal(4, 1) default(1.0), not null
# scale_quantity :decimal(4, 2)
# scale_price :decimal(8, 2)
# created_on :datetime
# updated_on :datetime
# list :string(255)
#

View File

@ -1,13 +1,3 @@
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
# == Schema Information
#
# Table name: assignments
#
# id :integer(4) not null, primary key
# user_id :integer(4) default(0), not null
# task_id :integer(4) default(0), not null
# accepted :boolean(1) default(FALSE)
#

View File

@ -12,15 +12,3 @@ bananas2:
note: Paying in from <%= 1.weeks.ago.strftime("%d.%m.%Y") %>
created_on: <%= 1.weeks.ago.to_s(:db) %>
# == Schema Information
#
# Table name: financial_transactions
#
# id :integer(4) not null, primary key
# ordergroup_id :integer(4) default(0), not null
# amount :decimal(8, 2) default(0.0), not null
# note :text default(""), not null
# user_id :integer(4) default(0), not null
# created_on :datetime not null
#

View File

@ -1,14 +1,3 @@
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
# == Schema Information
#
# Table name: group_order_article_quantities
#
# id :integer(4) not null, primary key
# group_order_article_id :integer(4) default(0), not null
# quantity :integer(4) default(0)
# tolerance :integer(4) default(0)
# created_on :datetime not null
#

View File

@ -20,32 +20,3 @@ bananas:
# == Schema Information
#
# Table name: groups
#
# id :integer(4) not null, primary key
# type :string(255) default(""), not null
# name :string(255) default(""), not null
# description :string(255)
# account_balance :decimal(8, 2) default(0.0), not null
# account_updated :datetime
# created_on :datetime not null
# role_admin :boolean(1) default(FALSE), not null
# role_suppliers :boolean(1) default(FALSE), not null
# role_article_meta :boolean(1) default(FALSE), not null
# role_finance :boolean(1) default(FALSE), not null
# role_orders :boolean(1) default(FALSE), not null
# weekly_task :boolean(1) default(FALSE)
# weekday :integer(4)
# task_name :string(255)
# task_description :string(255)
# task_required_users :integer(4) default(1)
# deleted_at :datetime
# contact_person :string(255)
# contact_phone :string(255)
# contact_address :string(255)
# stats :text
# task_duration :integer(4) default(1)
#

View File

@ -7,12 +7,3 @@ second:
user: test
# == Schema Information
#
# Table name: memberships
#
# id :integer(4) not null, primary key
# group_id :integer(4) default(0), not null
# user_id :integer(4) default(0), not null
#

View File

@ -2,17 +2,3 @@
# == Schema Information
#
# Table name: messages
#
# id :integer(4) not null, primary key
# sender_id :integer(4)
# recipients_ids :text
# subject :string(255) not null
# body :text
# email_state :integer(4) default(0), not null
# private :boolean(1) default(FALSE)
# created_at :datetime
#

View File

@ -1,13 +1,2 @@
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
# == Schema Information
#
# Table name: order_comments
#
# id :integer(4) not null, primary key
# order_id :integer(4)
# user_id :integer(4)
# text :text
# created_at :datetime
#

View File

@ -1,17 +1,2 @@
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
# == Schema Information
#
# Table name: orders
#
# id :integer(4) not null, primary key
# supplier_id :integer(4)
# note :text
# starts :datetime
# ends :datetime
# state :string(255) default("open")
# lock_version :integer(4) default(0), not null
# updated_by_user_id :integer(4)
# foodcoop_result :decimal(8, 2)
#

View File

@ -11,19 +11,3 @@ two:
permalink: MyString
# == Schema Information
#
# Table name: pages
#
# id :integer(4) not null, primary key
# title :string(255)
# body :text
# permalink :string(255)
# lock_version :integer(4) default(0)
# updated_by :integer(4)
# redirect :integer(4)
# parent_id :integer(4)
# created_at :datetime
# updated_at :datetime
#

View File

@ -1,15 +1,2 @@
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
# == Schema Information
#
# Table name: stock_changes
#
# id :integer(4) not null, primary key
# delivery_id :integer(4)
# order_id :integer(4)
# stock_article_id :integer(4)
# quantity :integer(4) default(0)
# created_at :datetime
# stock_taking_id :integer(4)
#

View File

@ -1,13 +1,3 @@
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
# == Schema Information
#
# Table name: stock_takings
#
# id :integer(4) not null, primary key
# date :date
# note :text
# created_at :datetime
#

View File

@ -47,26 +47,3 @@ terra:
# == Schema Information
#
# Table name: suppliers
#
# id :integer(4) not null, primary key
# name :string(255) not null
# address :string(255) not null
# phone :string(255) not null
# phone2 :string(255)
# fax :string(255)
# email :string(255)
# url :string(255)
# delivery_days :string(255)
# note :string(255)
# created_on :datetime
# updated_on :datetime
# lists :string(255)
# bnn_sync :boolean(1) default(FALSE)
# bnn_host :string(255)
# bnn_user :string(255)
# bnn_password :string(255)
#

View File

@ -2,21 +2,3 @@
# == Schema Information
#
# Table name: tasks
#
# id :integer(4) not null, primary key
# name :string(255) default(""), not null
# description :string(255)
# due_date :date
# done :boolean(1) default(FALSE)
# workgroup_id :integer(4)
# assigned :boolean(1) default(FALSE)
# created_on :datetime not null
# updated_on :datetime not null
# required_users :integer(4) default(1)
# weekly :boolean(1)
# duration :integer(4) default(1)
#

View File

@ -16,21 +16,3 @@ test:
password_salt: DxnbIF1h
created_on: <%= Time.now.to_s(:db) %>
# == Schema Information
#
# Table name: users
#
# id :integer(4) not null, primary key
# nick :string(255) default(""), not null
# password_hash :string(255) default(""), not null
# password_salt :string(255) default(""), not null
# first_name :string(255) default(""), not null
# last_name :string(255) default(""), not null
# email :string(255) default(""), not null
# phone :string(255)
# created_on :datetime not null
# reset_password_token :string(255)
# reset_password_expires :datetime
# last_login :datetime
#

View File

@ -9,12 +9,3 @@ class ArticleCategoryTest < Test::Unit::TestCase
end
end
# == Schema Information
#
# Table name: article_categories
#
# id :integer(4) not null, primary key
# name :string(255) default(""), not null
# description :string(255)
#

View File

@ -7,16 +7,3 @@ class ArticlePriceTest < ActiveSupport::TestCase
end
end
# == Schema Information
#
# Table name: article_prices
#
# id :integer(4) not null, primary key
# article_id :integer(4)
# price :decimal(8, 2) default(0.0), not null
# tax :decimal(8, 2) default(0.0), not null
# deposit :decimal(8, 2) default(0.0), not null
# unit_quantity :integer(4)
# created_at :datetime
#

View File

@ -1,29 +1,3 @@
# == Schema Information
#
# Table name: articles
#
# id :integer not null, primary key
# name :string(255) default(""), not null
# supplier_id :integer default(0), not null
# article_category_id :integer default(0), not null
# unit :string(255) default(""), not null
# note :string(255)
# availability :boolean default(TRUE), not null
# manufacturer :string(255)
# origin :string(255)
# shared_updated_on :datetime
# price :decimal(, )
# tax :float
# deposit :decimal(, ) default(0.0)
# unit_quantity :integer default(1), not null
# order_number :string(255)
# created_at :datetime
# updated_at :datetime
# quantity :integer default(0)
# deleted_at :datetime
# type :string(255)
#
require File.dirname(__FILE__) + '/../test_helper'
class ArticleTest < Test::Unit::TestCase

View File

@ -10,13 +10,3 @@ class AssignmentTest < Test::Unit::TestCase
end
# == Schema Information
#
# Table name: assignments
#
# id :integer(4) not null, primary key
# user_id :integer(4) default(0), not null
# task_id :integer(4) default(0), not null
# accepted :boolean(1) default(FALSE)
#

View File

@ -9,15 +9,3 @@ class FinancialTransactionTest < Test::Unit::TestCase
end
end
# == Schema Information
#
# Table name: financial_transactions
#
# id :integer(4) not null, primary key
# ordergroup_id :integer(4) default(0), not null
# amount :decimal(8, 2) default(0.0), not null
# note :text default(""), not null
# user_id :integer(4) default(0), not null
# created_on :datetime not null
#

View File

@ -9,14 +9,3 @@ class GroupOrderArticleQuantityTest < Test::Unit::TestCase
end
end
# == Schema Information
#
# Table name: group_order_article_quantities
#
# id :integer(4) not null, primary key
# group_order_article_id :integer(4) default(0), not null
# quantity :integer(4) default(0)
# tolerance :integer(4) default(0)
# created_on :datetime not null
#

View File

@ -12,32 +12,3 @@ end
# == Schema Information
#
# Table name: groups
#
# id :integer(4) not null, primary key
# type :string(255) default(""), not null
# name :string(255) default(""), not null
# description :string(255)
# account_balance :decimal(8, 2) default(0.0), not null
# account_updated :datetime
# created_on :datetime not null
# role_admin :boolean(1) default(FALSE), not null
# role_suppliers :boolean(1) default(FALSE), not null
# role_article_meta :boolean(1) default(FALSE), not null
# role_finance :boolean(1) default(FALSE), not null
# role_orders :boolean(1) default(FALSE), not null
# weekly_task :boolean(1) default(FALSE)
# weekday :integer(4)
# task_name :string(255)
# task_description :string(255)
# task_required_users :integer(4) default(1)
# deleted_at :datetime
# contact_person :string(255)
# contact_phone :string(255)
# contact_address :string(255)
# stats :text
# task_duration :integer(4) default(1)
#

View File

@ -9,12 +9,3 @@ class MembershipTest < Test::Unit::TestCase
end
end
# == Schema Information
#
# Table name: memberships
#
# id :integer(4) not null, primary key
# group_id :integer(4) default(0), not null
# user_id :integer(4) default(0), not null
#

View File

@ -7,14 +7,3 @@ class OrderCommentTest < ActiveSupport::TestCase
end
end
# == Schema Information
#
# Table name: order_comments
#
# id :integer(4) not null, primary key
# order_id :integer(4)
# user_id :integer(4)
# text :text
# created_at :datetime
#

View File

@ -9,18 +9,3 @@ class OrderTest < Test::Unit::TestCase
end
end
# == Schema Information
#
# Table name: orders
#
# id :integer(4) not null, primary key
# supplier_id :integer(4)
# note :text
# starts :datetime
# ends :datetime
# state :string(255) default("open")
# lock_version :integer(4) default(0), not null
# updated_by_user_id :integer(4)
# foodcoop_result :decimal(8, 2)
#

View File

@ -8,19 +8,3 @@ class PageTest < ActiveSupport::TestCase
end
# == Schema Information
#
# Table name: pages
#
# id :integer(4) not null, primary key
# title :string(255)
# body :text
# permalink :string(255)
# lock_version :integer(4) default(0)
# updated_by :integer(4)
# redirect :integer(4)
# parent_id :integer(4)
# created_at :datetime
# updated_at :datetime
#

View File

@ -1,27 +1,3 @@
# == Schema Information
# Schema version: 20090317175355
#
# Table name: articles
#
# id :integer(4) not null, primary key
# name :string(255) not null
# supplier_id :integer(4) not null
# number :string(255)
# note :string(255)
# manufacturer :string(255)
# origin :string(255)
# unit :string(255)
# price :decimal(8, 2) default(0.0), not null
# tax :decimal(3, 1) default(7.0), not null
# deposit :decimal(8, 2) default(0.0), not null
# unit_quantity :decimal(4, 1) default(1.0), not null
# scale_quantity :decimal(4, 2)
# scale_price :decimal(8, 2)
# created_on :datetime
# updated_on :datetime
# list :string(255)
#
require File.dirname(__FILE__) + '/../test_helper'
class SharedArticleTest < Test::Unit::TestCase

View File

@ -9,26 +9,3 @@ class SharedSupplierTest < Test::Unit::TestCase
end
end
# == Schema Information
#
# Table name: suppliers
#
# id :integer(4) not null, primary key
# name :string(255) not null
# address :string(255) not null
# phone :string(255) not null
# phone2 :string(255)
# fax :string(255)
# email :string(255)
# url :string(255)
# delivery_days :string(255)
# note :string(255)
# created_on :datetime
# updated_on :datetime
# lists :string(255)
# bnn_sync :boolean(1) default(FALSE)
# bnn_host :string(255)
# bnn_user :string(255)
# bnn_password :string(255)
#

View File

@ -8,29 +8,3 @@ class StockArticleTest < ActiveSupport::TestCase
end
# == Schema Information
#
# Table name: articles
#
# id :integer(4) not null, primary key
# name :string(255) default(""), not null
# supplier_id :integer(4) default(0), not null
# article_category_id :integer(4) default(0), not null
# unit :string(255) default(""), not null
# note :string(255)
# availability :boolean(1) default(TRUE), not null
# manufacturer :string(255)
# origin :string(255)
# shared_updated_on :datetime
# price :decimal(8, 2)
# tax :float
# deposit :decimal(8, 2) default(0.0)
# unit_quantity :integer(4) default(1), not null
# order_number :string(255)
# created_at :datetime
# updated_at :datetime
# deleted_at :datetime
# type :string(255)
# quantity :integer(4) default(0)
#

View File

@ -7,16 +7,3 @@ class StockChangeTest < ActiveSupport::TestCase
end
end
# == Schema Information
#
# Table name: stock_changes
#
# id :integer(4) not null, primary key
# delivery_id :integer(4)
# order_id :integer(4)
# stock_article_id :integer(4)
# quantity :integer(4) default(0)
# created_at :datetime
# stock_taking_id :integer(4)
#

View File

@ -7,13 +7,3 @@ class StockTakingTest < ActiveSupport::TestCase
end
end
# == Schema Information
#
# Table name: stock_takings
#
# id :integer(4) not null, primary key
# date :date
# note :text
# created_at :datetime
#

View File

@ -21,25 +21,3 @@ class SupplierTest < Test::Unit::TestCase
end
end
# == Schema Information
#
# Table name: suppliers
#
# id :integer(4) not null, primary key
# name :string(255) default(""), not null
# address :string(255) default(""), not null
# phone :string(255) default(""), not null
# phone2 :string(255)
# fax :string(255)
# email :string(255)
# url :string(255)
# contact_person :string(255)
# customer_number :string(255)
# delivery_days :string(255)
# order_howto :string(255)
# note :string(255)
# shared_supplier_id :integer(4)
# min_order_quantity :string(255)
# deleted_at :datetime
#

View File

@ -11,21 +11,3 @@ end
# == Schema Information
#
# Table name: tasks
#
# id :integer(4) not null, primary key
# name :string(255) default(""), not null
# description :string(255)
# due_date :date
# done :boolean(1) default(FALSE)
# workgroup_id :integer(4)
# assigned :boolean(1) default(FALSE)
# created_on :datetime not null
# updated_on :datetime not null
# required_users :integer(4) default(1)
# weekly :boolean(1)
# duration :integer(4) default(1)
#

View File

@ -32,21 +32,3 @@ class UserTest < Test::Unit::TestCase
end
end
# == Schema Information
#
# Table name: users
#
# id :integer(4) not null, primary key
# nick :string(255) default(""), not null
# password_hash :string(255) default(""), not null
# password_salt :string(255) default(""), not null
# first_name :string(255) default(""), not null
# last_name :string(255) default(""), not null
# email :string(255) default(""), not null
# phone :string(255)
# created_on :datetime not null
# reset_password_token :string(255)
# reset_password_expires :datetime
# last_login :datetime
#

View File

@ -10,32 +10,3 @@ end
# == Schema Information
#
# Table name: groups
#
# id :integer(4) not null, primary key
# type :string(255) default(""), not null
# name :string(255) default(""), not null
# description :string(255)
# account_balance :decimal(8, 2) default(0.0), not null
# account_updated :datetime
# created_on :datetime not null
# role_admin :boolean(1) default(FALSE), not null
# role_suppliers :boolean(1) default(FALSE), not null
# role_article_meta :boolean(1) default(FALSE), not null
# role_finance :boolean(1) default(FALSE), not null
# role_orders :boolean(1) default(FALSE), not null
# weekly_task :boolean(1) default(FALSE)
# weekday :integer(4)
# task_name :string(255)
# task_description :string(255)
# task_required_users :integer(4) default(1)
# deleted_at :datetime
# contact_person :string(255)
# contact_phone :string(255)
# contact_address :string(255)
# stats :text
# task_duration :integer(4) default(1)
#