Permalink
Browse files

Removed more unnecessary files

  • Loading branch information...
1 parent e0ebcc3 commit d111e190d449f6b268357009df388adeaeca1b14 @jammur jammur committed Dec 18, 2010
Showing with 0 additions and 34 deletions.
  1. +0 −8 config/config.rb
  2. +0 −17 config/mongoid.yml
  3. +0 −9 lib/post.rb
  4. BIN public/images/bg.png
View
@@ -1,8 +0,0 @@
-configure do
- file_name = File.join(File.dirname(__FILE__), "..", "config", "mongoid.yml")
- @settings = YAML.load(ERB.new(File.new(file_name).read).result)
-
- Mongoid.configure do |config|
- config.from_hash(@settings[ENV['RACK_ENV']])
- end
-end
View
@@ -1,17 +0,0 @@
-defaults: &defaults
- host: localhost
-
-development:
- <<: *defaults
- database: blog_development
-
-test:
- <<: *defaults
- database: blog_test
-
-# set these environment variables on your prod server
-production:
- <<: *defaults
- host: <%= ENV['MONGOID_HOST'] %>
- port: <%= ENV['MONGOID_PORT'] %>
- database: <%= ENV['MONGOID_DATABASE'] %>
View
@@ -1,9 +0,0 @@
-class Post
- include Mongoid::Document
- field :id
- field :name
- field :date
- field :type
- field :post
- field :summary
-end
View
Deleted file not rendered

0 comments on commit d111e19

Please sign in to comment.