Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Plain rails 3.2.2 app

  • Loading branch information...
commit 96f29dc4d619216b192fd5001cdbe21c0e93ee18 1 parent d7062fe
@rrooding rrooding authored
View
34 .gitignore
@@ -1,23 +1,15 @@
-# Thanks to: https://github.com/github/gitignore
-*.mp3
-*.aiff
-*.rbc
-*.sassc
-.sass-cache
-capybara-*.html
-.rspec
+# See http://help.github.com/ignore-files/ for more about ignoring files.
+#
+# If you find yourself ignoring temporary files generated by your text editor
+# or operating system, you probably want to add a global ignore instead:
+# git config --global core.excludesfile ~/.gitignore_global
+
+# Ignore bundler config
/.bundle
-/vendor/bundle
-/log/*
-/tmp/*
+
+# Ignore the default SQLite database.
/db/*.sqlite3
-/public/system/*
-/coverage/
-/spec/tmp/*
-**.orig
-rerun.txt
-pickle-email-*.html
-.DS_Store
-._*
-.Spotlight-V100
-.Trashes
+
+# Ignore all logfiles and tempfiles.
+/log/*.log
+/tmp
View
1  Gemfile
@@ -5,7 +5,6 @@ gem 'rails', '3.2.2'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
-gem 'sqlite3'
# Gems used only for assets and not required
View
2  Gemfile.lock
@@ -88,7 +88,6 @@ GEM
hike (~> 1.2)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
- sqlite3 (1.3.5)
thor (0.14.6)
tilt (1.3.3)
treetop (1.4.10)
@@ -107,5 +106,4 @@ DEPENDENCIES
jquery-rails
rails (= 3.2.2)
sass-rails (~> 3.2.3)
- sqlite3
uglifier (>= 1.0.3)
View
2  Rakefile
@@ -4,4 +4,4 @@
require File.expand_path('../config/application', __FILE__)
-Rrrrr::Application.load_tasks
+Ringr::Application.load_tasks
View
2  app/views/layouts/application.html.erb
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
- <title>Rrrrr</title>
+ <title>Ringr</title>
<%= stylesheet_link_tag "application", :media => "all" %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
View
2  config.ru
@@ -1,4 +1,4 @@
# This file is used by Rack-based servers to start the application.
require ::File.expand_path('../config/environment', __FILE__)
-run Rrrrr::Application
+run Ringr::Application
View
10 config/application.rb
@@ -1,6 +1,12 @@
require File.expand_path('../boot', __FILE__)
-require 'rails/all'
+# Pick the frameworks you want:
+# require "active_record/railtie"
+require "action_controller/railtie"
+require "action_mailer/railtie"
+require "active_resource/railtie"
+require "sprockets/railtie"
+# require "rails/test_unit/railtie"
if defined?(Bundler)
# If you precompile assets before deploying to production, use this line
@@ -9,7 +15,7 @@
# Bundler.require(:default, :assets, Rails.env)
end
-module Rrrrr
+module Ringr
class Application < Rails::Application
# Settings in config/environments/* take precedence over those specified here.
# Application configuration should go into files in config/initializers
View
2  config/environment.rb
@@ -2,4 +2,4 @@
require File.expand_path('../application', __FILE__)
# Initialize the rails application
-Rrrrr::Application.initialize!
+Ringr::Application.initialize!
View
8 config/environments/development.rb
@@ -1,4 +1,4 @@
-Rrrrr::Application.configure do
+Ringr::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
# In the development environment your application's code is reloaded on
@@ -22,12 +22,6 @@
# Only use best-standards-support built into browsers
config.action_dispatch.best_standards_support = :builtin
- # Raise exception on mass assignment protection for Active Record models
- config.active_record.mass_assignment_sanitizer = :strict
-
- # Log the query plan for queries taking more than this (works
- # with SQLite, MySQL, and PostgreSQL)
- config.active_record.auto_explain_threshold_in_seconds = 0.5
# Do not compress assets
config.assets.compress = false
View
5 config/environments/production.rb
@@ -1,4 +1,4 @@
-Rrrrr::Application.configure do
+Ringr::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
# Code is not reloaded between requests
@@ -61,7 +61,4 @@
# Send deprecation notices to registered listeners
config.active_support.deprecation = :notify
- # Log the query plan for queries taking more than this (works
- # with SQLite, MySQL, and PostgreSQL)
- # config.active_record.auto_explain_threshold_in_seconds = 0.5
end
View
4 config/environments/test.rb
@@ -1,4 +1,4 @@
-Rrrrr::Application.configure do
+Ringr::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
# The test environment is used exclusively to run your application's
@@ -29,8 +29,6 @@
# ActionMailer::Base.deliveries array.
config.action_mailer.delivery_method = :test
- # Raise exception on mass assignment protection for Active Record models
- config.active_record.mass_assignment_sanitizer = :strict
# Print deprecation notices to the stderr
config.active_support.deprecation = :stderr
View
2  config/initializers/secret_token.rb
@@ -4,4 +4,4 @@
# If you change this key, all old signed cookies will become invalid!
# Make sure the secret is at least 30 characters and all random,
# no regular words or you'll be exposed to dictionary attacks.
-Rrrrr::Application.config.secret_token = 'ed6513a33f6a8129c9af4b464f80009f09a7a3be48b6fa2d206200b5c58320d8cc6ea64a94c6c4a4c21de0c0ead933fde20956e0442ab8af5f94fc10240a9ccd'
+Ringr::Application.config.secret_token = '45225d1bf065178278803e311e1344030a805f426c48a3f0e3254e724d975399a142d2d2c4a414eae89af3c61061fbaaf1eb1bebc009d77649e1af1be05b74e5'
View
4 config/initializers/session_store.rb
@@ -1,8 +1,8 @@
# Be sure to restart your server when you modify this file.
-Rrrrr::Application.config.session_store :cookie_store, key: '_rrrrr_session'
+Ringr::Application.config.session_store :cookie_store, key: '_Ringr_session'
# Use the database for sessions instead of the cookie-based default,
# which shouldn't be used to store highly confidential information
# (create the session table with "rails generate session_migration")
-# Rrrrr::Application.config.session_store :active_record_store
+# Ringr::Application.config.session_store :active_record_store
View
4 config/initializers/wrap_parameters.rb
@@ -8,7 +8,3 @@
wrap_parameters format: [:json]
end
-# Disable root element in JSON by default.
-ActiveSupport.on_load(:active_record) do
- self.include_root_in_json = false
-end
View
2  config/routes.rb
@@ -1,4 +1,4 @@
-Rrrrr::Application.routes.draw do
+Ringr::Application.routes.draw do
# The priority is based upon order of creation:
# first created -> highest priority.
View
0  log/.gitkeep
No changes.
Please sign in to comment.
Something went wrong with that request. Please try again.