Skip to content

Commit

Permalink
remove salary item code
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisou committed Oct 15, 2010
1 parent a76db02 commit 310d17f
Show file tree
Hide file tree
Showing 20 changed files with 3 additions and 466 deletions.
3 changes: 0 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ group :test do
end


# Use unicorn as the web server
# gem 'unicorn'

# Deploy with Capistrano
# gem 'capistrano'

Expand Down
29 changes: 3 additions & 26 deletions README
Original file line number Diff line number Diff line change
@@ -1,30 +1,7 @@
== Welcome to Rails

Rails is a web-application framework that includes everything needed to create
database-backed web applications according to the Model-View-Control pattern.

This pattern splits the view (also called the presentation) into "dumb"
templates that are primarily responsible for inserting pre-built data in between
HTML tags. The model contains the "smart" domain objects (such as Account,
Product, Person, Post) that holds all the business logic and knows how to
persist themselves to a database. The controller handles the incoming requests
(such as Save New Account, Update Product, Show Post) by manipulating the model
and directing data to the view.

In Rails, the model is handled by what's called an object-relational mapping
layer entitled Active Record. This layer allows you to present the data from
database rows as objects and embellish these data objects with business logic
methods. You can read more about Active Record in
link:files/vendor/rails/activerecord/README.html.

The controller and view are handled by the Action Pack, which handles both
layers by its two parts: Action View and Action Controller. These two layers
are bundled in a single package due to their heavy interdependence. This is
unlike the relationship between the Active Record and Action Pack that is much
more separate. Each of these packages can be used independently outside of
Rails. You can read more about Action Pack in
link:files/vendor/rails/actionpack/README.html.
== Welcome to Humance

Humance is a web-application that includes everything needed to hold daily routine
on Human Resource Manager of every company.

== Getting Started

Expand Down
83 changes: 0 additions & 83 deletions app/controllers/salary_items_controller.rb

This file was deleted.

2 changes: 0 additions & 2 deletions app/helpers/salary_items_helper.rb

This file was deleted.

2 changes: 0 additions & 2 deletions app/models/salary_item.rb

This file was deleted.

25 changes: 0 additions & 25 deletions app/views/salary_items/_form.html.erb

This file was deleted.

6 changes: 0 additions & 6 deletions app/views/salary_items/edit.html.erb

This file was deleted.

25 changes: 0 additions & 25 deletions app/views/salary_items/index.html.erb

This file was deleted.

5 changes: 0 additions & 5 deletions app/views/salary_items/new.html.erb

This file was deleted.

15 changes: 0 additions & 15 deletions app/views/salary_items/show.html.erb

This file was deleted.

2 changes: 0 additions & 2 deletions config/routes.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
Humance::Application.routes.draw do
resources :salary_items

resources :employees

# The priority is based upon order of creation:
Expand Down
125 changes: 0 additions & 125 deletions spec/controllers/salary_items_controller_spec.rb

This file was deleted.

15 changes: 0 additions & 15 deletions spec/helpers/salary_items_helper_spec.rb

This file was deleted.

5 changes: 0 additions & 5 deletions spec/models/salary_item_spec.rb

This file was deleted.

9 changes: 0 additions & 9 deletions spec/requests/salary_items_spec.rb

This file was deleted.

Loading

0 comments on commit 310d17f

Please sign in to comment.