If you want to serve static pages in rails you can create a Static controller and Static views and route the actions in the Static controller to your Static views. Note there will be no associated static model. For example:
controllers/static_controller.rb
class StaticController < ApplicationController
def landing_page
end
def another_page
end
end
views/landing_page.html
<title> <h1>Landing Page stuff</h1> </title>
views/landing_page.html
<title> <h1>Another Static Page</h1> </title>
config/routes.rb
Project::Application.routes.draw do
root :to => "static#landing_page"
match '/another_page', to: 'static#another_page', via: 'get'
end