Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed more unnecessary files

  • Loading branch information...
commit d111e190d449f6b268357009df388adeaeca1b14 1 parent e0ebcc3
@jammur jammur authored
View
8 config/config.rb
@@ -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
17 config/mongoid.yml
@@ -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
9 lib/post.rb
@@ -1,9 +0,0 @@
-class Post
- include Mongoid::Document
- field :id
- field :name
- field :date
- field :type
- field :post
- field :summary
-end
View
BIN  public/images/bg.png
Deleted file not rendered
Please sign in to comment.
Something went wrong with that request. Please try again.