adding controller for futzing with solr
This commit is contained in:
parent
8562d71bbb
commit
9046917ed1
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
*.log
|
*.log
|
||||||
koans/.path_progress
|
koans/.path_progress
|
||||||
|
*.sqlite3
|
||||||
|
2
rails/hamster/app/controllers/solr_controller.rb
Normal file
2
rails/hamster/app/controllers/solr_controller.rb
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
class SolrController < ApplicationController
|
||||||
|
end
|
2
rails/hamster/app/helpers/solr_helper.rb
Normal file
2
rails/hamster/app/helpers/solr_helper.rb
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
module SolrHelper
|
||||||
|
end
|
14
rails/hamster/db/schema.rb
Normal file
14
rails/hamster/db/schema.rb
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
# This file is auto-generated from the current state of the database. Instead of editing this file,
|
||||||
|
# please use the migrations feature of Active Record to incrementally modify your database, and
|
||||||
|
# then regenerate this schema definition.
|
||||||
|
#
|
||||||
|
# Note that this schema.rb definition is the authoritative source for your database schema. If you need
|
||||||
|
# to create the application database on another system, you should be using db:schema:load, not running
|
||||||
|
# all the migrations from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
||||||
|
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
||||||
|
#
|
||||||
|
# It's strongly recommended to check this file into your version control system.
|
||||||
|
|
||||||
|
ActiveRecord::Schema.define(:version => 0) do
|
||||||
|
|
||||||
|
end
|
8
rails/hamster/test/functional/solr_controller_test.rb
Normal file
8
rails/hamster/test/functional/solr_controller_test.rb
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
require 'test_helper'
|
||||||
|
|
||||||
|
class SolrControllerTest < ActionController::TestCase
|
||||||
|
# Replace this with your real tests.
|
||||||
|
test "the truth" do
|
||||||
|
assert true
|
||||||
|
end
|
||||||
|
end
|
4
rails/hamster/test/unit/helpers/solr_helper_test.rb
Normal file
4
rails/hamster/test/unit/helpers/solr_helper_test.rb
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
require 'test_helper'
|
||||||
|
|
||||||
|
class SolrHelperTest < ActionView::TestCase
|
||||||
|
end
|
Loading…
Reference in New Issue
Block a user