Git Product home page Git Product logo

opoloo / lines-engine Goto Github PK

View Code? Open in Web Editor NEW
216.0 11.0 103.0 28.72 MB

Lines is a customizable blog framework for Rails. It aims at making publishing simple and beautiful.

Home Page: http://lines.opoloo.com

License: GNU Lesser General Public License v3.0

Ruby 11.72% JavaScript 36.25% CoffeeScript 0.13% HTML 47.46% CSS 0.85% Shell 0.03% SCSS 3.56%
rails5 rails-engine blog-engine publishing blog ruby

lines-engine's Introduction

LINES Publishing Engine by Opoloo

<img src=“https://badge.fury.io/rb/lines-engine.svg” alt=“Gem Version” />

Introduction

LINES is a customizable publishing framework for Rails developers. It makes your publications and the processes around it simple and beautiful.

LINES is designed for mobile publishing needs. You work in a clear, responsive backend where you write with a distraction-free markdown editor, and where publishing your articles is dead simple. Readers enjoy your writing, not least because it’s perfectly readable on all screens.

LINES is a framework for tech-savvies who care about writing and publishing, with the freedom of full OSS access.

Learn more at the Lines Website, or see it in action: www.opoloo.com/blog.

Purpose, Features, Specifications

LINES is designed for

  • distraction-free writing and editing

  • a simple, consistent, mobile publishing process

  • clear, responsive presentation

  • customization

  • full focus on content

Features

  • authentication system (with password reset, remember token, …)

  • custom hero graphics for posts

  • upload default hero images that you want to re-use

  • customizable generic titles & subtitles

  • automatic teaser & scaled image for the article overview

  • determine featured article

  • GitHub Flavored Markdown (four headline styles according to priority, italics & bold text, block quotes and citation, images, lists, links, image captions, …)

  • code syntax highlighting

  • formatting help

  • tags for articles

  • G+ link to social network discussion

  • multiple authors and author information (for your small company or guest authors)

  • add documents for download

  • direct RSS reader access

Installation

  1. Add the gem to your Gemfile:

    gem 'lines-engine'
    
  2. Run ‘bundle’:

    bundle
    
  3. There is an installation task that will guide you through the rest of the installation process. Just switch to your application directory and run:

    rails g lines:install
    
  4. Adjust settings for Lines in the newly generated config/lines_config.yml file.

  5. Run database migrations:

    rake db:migrate
    

If you need some more information or help, you can just follow this read me file.

Managing admin users

Currently, LINES does not offer a GUI for managing users, but you can use a rake task to do so:

rake lines:add_user

To update an existing user, you’ll need the rails console with ‘rails c’

UPDATE an existing user

u = User.find_by_email('[email protected]')
u.email = "[email protected]"
u.password = "newsekret"
u.save

Google Sitemap

The sitemap_generator gem (github.com/kjvarga/sitemap_generator) handles the creation of site maps for search engines. To update the sitemap on server, run:

bundle exec rake sitemap:refresh:no_ping # don’t ping search engines
bundle exec rake sitemap:refresh         # ping search engines

Don’t forget to adjust the full URL to your sitemaps in public/robots.txt

Documentation

The complete documentation can be found at RubyDoc.info: www.rubydoc.info/gems/lines-engine/

Customization

Copy/update stylesheets

Run rails g lines:copy_styles to install stylesheets from newer gem versions. Keep in mind to backup your overrides and other customizations before doing so!

Modify CSS/SCSS

Find the SASS files inside the app/assets/stylesheets/lines/ directory.

Use the app/assets/stylesheets/lines/lines_overrides.scss file to adjust existing styles or add new ones.

Modify custom hero images

You can change, remove, or add the HERO_IMAGES variable inside the config/lines_config.yml file. The corresponding images reside inside the public/heroes directory.

Header (Meta) & Footer

To change the header/meta/footer elements you need to modify app/views/layouts/lines/application.html.erb and the corresponding partials.

Screenshots

Dashboard

Create or edit an article

Preview

Articles overview

Contributors

A big thanks goes to these wonderful people for their contributions and support:

@MyXoToD, @adonespitogo, @scottbarrow, @aziflaj, @dafuga, @usamah82, @edgarlepe

License

You may use the Lines blog template as you please. You’d make us happy, though, if you kept an attribution to Lines and Opoloo to spread the word.

We heartily invite you to extend the features of the engine, but when you do, you should fork it on GitHub, so everyone can profit from your work.

You can see the full license here: choosealicense.com/licenses/lgpl-v3/

lines-engine's People

Contributors

adonespitogo avatar aziflaj avatar dafuga avatar edgarlepe avatar maflohr avatar myxotod avatar pauloparakleto avatar scottbarrow avatar thej avatar usamah82 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lines-engine's Issues

Initial setup is broken

Looks like a great gem, but the initial setup into a new app does not work. Instead, upon running the install script, and trying to browse the blog, we get the following error:

Showing /Users/scott/Workspace/blog/app/views/lines/articles/index.html.erb where line #2 raised:
Undefined variable: "$max-width".

Apparently the variables set in application.scss are not available to article.scss etc. and that is causing the issue.

#20 has a fix that solved this.

Missing required option :name when trying to use S3 for storage.

I've been trying to get my blog set up on Heroku in S3. I followed issue #16, but this is as far as I got.
I've also been following Heroku's instructions for setting up Rails with S3.

I was testing this with heroku local:run rails s to get the error.
I tried pushing to my website and it didn't work either.

ArgumentError in Lines::Articles#index
missing required option :name

  <div class="article <%= article_class %>">
  <% cache "#{article_small}_small" do %>
    <% unless article_small.image_url.blank? %> #This is where the error is marked.
      <div class="hero_image">
        <%= link_to article_path(article_small) do %>
          <img src="<%= article_small.image_url %>" alt="<%= article_small.title %>" />

The top of my framework trace says
aws-sdk-s3 (1.30.1) lib/aws-sdk-s3/bucket.rb:684:in extract_name

Thanks for your help :)

Proposal: Upgrade to rails 6 + authentication scheme

Hey there!

I was wondering if you guys would be open to accept a pull request which does following things:

Proposal:

  • Upgrade to rails 6

Reason:

I'm using rails 6 and would like to use lines engine as it solves most of my problems, but I'm unable to since it is rails 5 only.

Proposal:

  • Step away from the predefined authentication scheme like devise you are using.

I don't mean directly removing devise as a whole but make it configurable by the user. Be it http authentication or custom authentication.

Reason

It seems unnecessary to bring in a complete new authentication scheme / dependencies + lines_user table if I already have a user table in my database.

I would propose to add a function call that lines calls when checking for authenticated users.

# Authentication scheme is handled and determined by the developer that uses the engine
authenticate -> { |username, password|  return true | false } 

Kind regards
Jens

No such middleware to insert before: ActionDispatch::Static

When I try to compile my javascripts and stylesheets on production with RAILS_ENV=production bundle exec rake assets:precompile command, why I got this error when using Lines-Engine on my project :

No such middleware to insert before: ActionDispatch::Static
/.../config/environment.rb:5:in <top (required)>
/.../.rbenv/versions/2.3.3/bin/bundle:22:in load
/.../.rbenv/versions/2.3.3/bin/bundle:22:in <main>
Tasks: TOP => environment
(See full trace by running task with --trace)

I am using Rails 4.2.7 with Ruby 2.3.3. Thank you

Rails 6 Support

Currently, lines-engine doesn't support Rails 6. Is support for Rails 6 in the timeline?

Bundler could not find compatible versions for gem "rails":
  In snapshot (Gemfile.lock):
    rails (= 6.0.2.1)

  In Gemfile:
    lines-engine was resolved to 1.1.5.3, which depends on
      rails (>= 3, < 5)

uninitialized constant Date

I am using ruby 2.3.3 and rails 5.0.1. Cloned this repo and followed the installation instructions using my local copy. When I run:

rails s

I get the following error:

[!] There was an error while loading `lines.gemspec`: uninitialized constant Date
Did you mean?  Data. Bundler cannot continue.

 #  from /Users/edgarlepe/Developer/lines-engine/lines.gemspec:16
 #  -------------------------------------------
 #    s.license     = "LGPL3"
 >    s.date        = Date.today.to_s
 #    s.required_ruby_version = '>= 1.9.3'
 #  -------------------------------------------

This can be fixed by adding

require 'date'

to lines.gemspec

mongoid support?

Hey guys!

Thanks for this project. It would be better if it would have mongoid support.

Help Installing

Hi all installed after some modding and adding [4.2] to all of the migrate tasks.

Now if i go to localhost:3000/blog I get stylesheet errors. It appears variables are missing like $max-width? Where are these set?

couldn't find file 'jquery-ui/datepicker'

I created a new Rails application using Ruby 2.4.0 and Rails 5.0.1:

$ rails new blogapp

and followed the install instructions (add lines gem, bundle, 'rails g lines:install', rake db:migrate). Then ran rails server and visited http://localhost:3000/blog.

Got the error:

Sprockets::FileNotFound in Lines::Articles#index
Showing /Users/danielkehoe/workspace/wip/blogapp/app/views/lines/articles/index.html.erb where line #2 raised:
couldn't find file 'jquery-ui/datepicker' with type 'application/javascript'

Disappointed to find the gem doesn't work on a simple install and the error hasn't been previously reported.

Images lost after pushing to Heroku

I've starting using Lines, and it works very well locally. Unfortunately, after I push my app to Heroku, I am noticing that uploaded images in the LinesPicture table initially work until I push a second subsequent branch to Heroku (so basically, it seems like any new push resets the asset pipeline and messes things up).

In my production.rb file, I have made some updates including:

  # Disable serving static files from the `/public` folder by default since
  # Apache or NGINX already handles this.
  config.serve_static_files = true

  # Do not fallback to assets pipeline if a precompiled asset is missed.
  config.assets.compile = true

Additionally, based on Heroku's documentation, I made sure to have gem 'rails_12factor', group: :production installed as well.

The problem persists. I have run heroku run rails console and checked the LinesPicture table, and the photos remain in the table. Has anyone experienced / found a solution when deploying?

Unmaintained? Use my fork

Maintainers of this repo seem to be unresponsive.

An updated version of this repository is in my github account.

It contains pending pull requests from this repo and some bug fixes and ability to specify carrierwave storage. Works with Rails 5.2

Opoloo: Please let me know if you need maintainer for this project.

Typo in render_navbar

There's typo in app/helpers/lines/application_helper.rb:75 - <dic class='stripes'></div> has to be div

Broken images

Hey guys, I really love this gem. However I have this strange issue on one of my blogs where my images go blank around 12 to 24 hours after I uploaded them. So I create a blog, attach images and publish it. It's fine for a while. But then when I check it the following night, the images don't work anymore. It's only happening with one of my articles, not the other. Any idea how I can fix this or what I might be doing wrong? My blog is at www.strachanmusic.com/blog - thank you!

Commenting

Hi, Can we leave a comments for an article?

when executing "rails g lines:install": undefined method 'assets'

hey there,

i use ruby 2.5.3 and rails 5.2.2
i added gem 'lines-engine' to my Gemfile, but when i try to execute rails g lines:install in my shell i get the following error:

/Users/hoou17009/.rvm/gems/ruby-2.5.3/gems/railties-5.2.2/lib/rails/railtie/configuration.rb:97:in `method_missing': undefined method `assets' for #<Rails::Application::Configuration:0x00007f9e3038bcf8>
Did you mean?  asset_host (NoMethodError)
	from /Users/hoou17009/.rvm/gems/ruby-2.5.3/gems/lines-engine-1.2.6.1/config/initializers/assets.rb:1:in `<main>'
	from /Users/hoou17009/.rvm/gems/ruby-2.5.3/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:50:in `load'
	from /Users/hoou17009/.rvm/gems/ruby-2.5.3/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:50:in `load'
	from /Users/hoou17009/.rvm/gems/ruby-2.5.3/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:285:in `block in load'
	from /Users/hoou17009/.rvm/gems/ruby-2.5.3/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in `load_dependency'
	from /Users/hoou17009/.rvm/gems/ruby-2.5.3/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:285:in `load'
	from /Users/hoou17009/.rvm/gems/ruby-2.5.3/gems/railties-5.2.2/lib/rails/engine.rb:657:in `block in load_config_initializer'
	from /Users/hoou17009/.rvm/gems/ruby-2.5.3/gems/activesupport-5.2.2/lib/active_support/notifications.rb:170:in `instrument'
	from /Users/hoou17009/.rvm/gems/ruby-2.5.3/gems/railties-5.2.2/lib/rails/engine.rb:656:in `load_config_initializer'
	from /Users/hoou17009/.rvm/gems/ruby-2.5.3/gems/railties-5.2.2/lib/rails/engine.rb:614:in `block (2 levels) in <class:Engine>'
	from /Users/hoou17009/.rvm/gems/ruby-2.5.3/gems/railties-5.2.2/lib/rails/engine.rb:613:in `each'
	from /Users/hoou17009/.rvm/gems/ruby-2.5.3/gems/railties-5.2.2/lib/rails/engine.rb:613:in `block in <class:Engine>'
	from /Users/hoou17009/.rvm/gems/ruby-2.5.3/gems/railties-5.2.2/lib/rails/initializable.rb:32:in `instance_exec'
	from /Users/hoou17009/.rvm/gems/ruby-2.5.3/gems/railties-5.2.2/lib/rails/initializable.rb:32:in `run'
	from /Users/hoou17009/.rvm/gems/ruby-2.5.3/gems/railties-5.2.2/lib/rails/initializable.rb:61:in `block in run_initializers'
	from /Users/hoou17009/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/tsort.rb:228:in `block in tsort_each'
	from /Users/hoou17009/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
	from /Users/hoou17009/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/tsort.rb:422:in `block (2 levels) in each_strongly_connected_component_from'
	from /Users/hoou17009/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/tsort.rb:431:in `each_strongly_connected_component_from'
	from /Users/hoou17009/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/tsort.rb:421:in `block in each_strongly_connected_component_from'
	from /Users/hoou17009/.rvm/gems/ruby-2.5.3/gems/railties-5.2.2/lib/rails/initializable.rb:50:in `each'
	from /Users/hoou17009/.rvm/gems/ruby-2.5.3/gems/railties-5.2.2/lib/rails/initializable.rb:50:in `tsort_each_child'
	from /Users/hoou17009/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/tsort.rb:415:in `call'
	from /Users/hoou17009/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/tsort.rb:415:in `each_strongly_connected_component_from'
	from /Users/hoou17009/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/tsort.rb:349:in `block in each_strongly_connected_component'
	from /Users/hoou17009/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/tsort.rb:347:in `each'
	from /Users/hoou17009/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/tsort.rb:347:in `call'
	from /Users/hoou17009/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/tsort.rb:347:in `each_strongly_connected_component'
	from /Users/hoou17009/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/tsort.rb:226:in `tsort_each'
	from /Users/hoou17009/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/tsort.rb:205:in `tsort_each'
	from /Users/hoou17009/.rvm/gems/ruby-2.5.3/gems/railties-5.2.2/lib/rails/initializable.rb:60:in `run_initializers'
	from /Users/hoou17009/.rvm/gems/ruby-2.5.3/gems/railties-5.2.2/lib/rails/application.rb:361:in `initialize!'
	from /Users/hoou17009/hoou_dev/iris/config/environment.rb:5:in `<main>'
	from /Users/hoou17009/.rvm/gems/ruby-2.5.3/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require'
	from /Users/hoou17009/.rvm/gems/ruby-2.5.3/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `block in require_with_bootsnap_lfi'
	from /Users/hoou17009/.rvm/gems/ruby-2.5.3/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/loaded_features_index.rb:65:in `register'
	from /Users/hoou17009/.rvm/gems/ruby-2.5.3/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:20:in `require_with_bootsnap_lfi'
	from /Users/hoou17009/.rvm/gems/ruby-2.5.3/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:29:in `require'
	from /Users/hoou17009/.rvm/gems/ruby-2.5.3/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in `block in require'
	from /Users/hoou17009/.rvm/gems/ruby-2.5.3/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in `load_dependency'
	from /Users/hoou17009/.rvm/gems/ruby-2.5.3/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in `require'
	from /Users/hoou17009/.rvm/gems/ruby-2.5.3/gems/spring-2.0.2/lib/spring/application.rb:102:in `preload'
	from /Users/hoou17009/.rvm/gems/ruby-2.5.3/gems/spring-2.0.2/lib/spring/application.rb:153:in `serve'
	from /Users/hoou17009/.rvm/gems/ruby-2.5.3/gems/spring-2.0.2/lib/spring/application.rb:141:in `block in run'
	from /Users/hoou17009/.rvm/gems/ruby-2.5.3/gems/spring-2.0.2/lib/spring/application.rb:135:in `loop'
	from /Users/hoou17009/.rvm/gems/ruby-2.5.3/gems/spring-2.0.2/lib/spring/application.rb:135:in `run'
	from /Users/hoou17009/.rvm/gems/ruby-2.5.3/gems/spring-2.0.2/lib/spring/application/boot.rb:19:in `<top (required)>'
	from /Users/hoou17009/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
	from /Users/hoou17009/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
	from -e:1:in `<main>'

Maybe my Rails-Version is not compatibe? Which one do you suggest?

Error after running migrations

Getting this err after migration

-- create_table("lines_authorables", {:force=>true})
rake aborted!
StandardError: An error has occurred, this and all later migrations canceled:

PG::UndefinedTable: ERROR:  relation "authors" does not exist
: CREATE TABLE "lines_authorables" ("id" serial primary key, "author_id" integer , "article_id" integer , "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, CONSTRAINT fk_lines_authorables_author_id FOREIGN KEY ("author_id") REFERENCES "authors" ("id"), CONSTRAINT fk_lines_authorables_article_id FOREIGN KEY ("article_id") REFERENCES "articles" ("id"))

Compatibility issues with sprockets and SASS @import

Hey guys!

I installed your gem and configured with default values to give it a try on Rails 5 with Postgresql 9.5. After setup, when I hit blog page, I got error mentioned on title. Here are full log:

❯ rails s
=> Booting Puma
=> Rails 5.0.0.1 application starting in development on http://localhost:3000
=> Run `rails server -h` for more startup options
Puma starting in single mode...
* Version 3.6.0 (ruby 2.3.1-p112), codename: Sleepy Sunday Serenity
* Min threads: 5, max threads: 5
* Environment: development
* Listening on tcp://localhost:3000
Use Ctrl-C to stop
Started GET "/blog/login" for 127.0.0.1 at 2016-11-08 18:56:00 +0300
  ActiveRecord::SchemaMigration Load (0.5ms)  SELECT "schema_migrations".* FROM "schema_migrations"
Processing by Lines::SessionsController#new as HTML
  Rendering /home/ekrem1610/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/lines-engine-1.2.1/app/views/lines/sessions/new.html.erb within layouts/lines/admin
  Rendered /home/ekrem1610/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/lines-engine-1.2.1/app/views/lines/sessions/new.html.erb within layouts/lines/admin (20.9ms)
Completed 500 Internal Server Error in 1154ms (ActiveRecord: 0.0ms)


  
ActionView::Template::Error (Undefined variable: "$max-width".):
    16:   <script type="text/javascript" src="/codemirror/mode/markdown/markdown.js"></script>
    17:   <script type="text/javascript" src="/codemirror/mode/gfm/gfm.js"></script>
    18:   <!-- Codemirror End -->
    19:   <%= stylesheet_link_tag    "lines/admin/admin", media: "all" %>
    20:   <%= javascript_include_tag "lines/admin/admin" %>
    21:   <%= csrf_meta_tags %>
    22:   <%= yield(:head) %>
  
app/assets/stylesheets/lines/article.scss:2
  Rendering /home/ekrem1610/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout
  Rendering /home/ekrem1610/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
  Rendered /home/ekrem1610/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (8.3ms)
  Rendering /home/ekrem1610/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
  Rendered /home/ekrem1610/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.6ms)
  Rendering /home/ekrem1610/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
  Rendered /home/ekrem1610/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms)
  Rendered /home/ekrem1610/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (30.8ms)
Started GET "/blog/" for 127.0.0.1 at 2016-11-08 18:56:07 +0300
Processing by Lines::ArticlesController#index as HTML
  Lines::Article Load (0.9ms)  SELECT  "lines_articles".* FROM "lines_articles" WHERE "lines_articles"."published" = $1 ORDER BY featured DESC, published_at DESC, created_at DESC LIMIT $2  [["published", true], ["LIMIT", 1]]
  Rendering lines/articles/index.html.erb within layouts/lines/application
  Rendered lines/articles/index.html.erb within layouts/lines/application (60.6ms)
Completed 500 Internal Server Error in 188ms (ActiveRecord: 2.3ms)


  
ActionView::Template::Error (Undefined variable: "$max-width".):
    1: <div class="rss">
    2:     <%= link_to image_tag("ic_rss.png"), articles_url(format: "atom") %>
    3: </div>
    4: 
    5: <div id="articles">
  
app/assets/stylesheets/lines/article.scss:2
app/views/lines/articles/index.html.erb:2:in `_app_views_lines_articles_index_html_erb__1708563076889334612_70086469085360'
  Rendering /home/ekrem1610/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout
  Rendering /home/ekrem1610/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
  Rendered /home/ekrem1610/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (7.7ms)
  Rendering /home/ekrem1610/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
  Rendered /home/ekrem1610/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms)
  Rendering /home/ekrem1610/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
  Rendered /home/ekrem1610/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms)
  Rendered /home/ekrem1610/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (27.0ms)
^CExiting

Rails 5 support

Right now lines-engine doesn't support Rails 5:

Bundler could not find compatible versions for gem "rails":
  In snapshot (Gemfile.lock):
    rails (= 5.0.0.1)

  In Gemfile:
    lines-engine was resolved to 0.1.9, which depends on
      rails (< 5, >= 3)

Is that in your roadmap?

Thanks for sharing your work!

og:image meta tag doesn't carry the scheme

Most probably a quick fix, but I didn't have time to create a PR.

Basically at:

meta_tags[:image] = CONFIG[:host] + @article.image_url if @article.image_url.present?

meta_tags[:image] = CONFIG[:host] + @article.image_url if @article.image_url.present?

causes the og:image meta tag to not carry the scheme (http vs https), making FB scraper complain of mixed scheme / content issue.

Sass::SyntaxError in Lines::Articles#index

i followed the instruction in the documentation and unto running my server i received
Sass::SyntaxError in Lines::Articles#index
screenshot from 2018-10-20 21-50-27

i guess the sass file is not being recognised but i don't know how to fix it

After install, when trying to create a new article I get this error.

Unknown key: :optional. Valid keys are: :class_name, :anonymous_class, :foreign_key, :validate, :autosave, :dependent, :primary_key, :inverse_of, :required, :foreign_type, :polymorphic, :touch, :counter_cache

Session:
#<ActionDispatch::Request::Session:0x00000003650fb0 @by=#<ActionDispatch::Session::CookieStore:0x000000056f57e8 @app=#<ActionDispatch::Flash:0x000000056f5810 @app=#<ActionDispatch::ParamsParser:0x000000056f58d8 @app=#<Rack::Head:0x000000056f5900 @app=#<Rack::ConditionalGet:0x000000056f5928 @app=#<Rack::ETag:0x000000056f5950 @app=#<Warden::Manager:0x000000056f5a18 @config={:default_scope=>:admin_user, :scope_defaults=>{}, :default_strategies=>{:admin_user=>[:rememberable, :database_authenticatable], :user=>[:rememberable, :database_authenticatable], :affiliate=>[:rememberable, :database_authenticatable]}, :intercept_401=>false, :failure_app=>#Devise::Delegator:0x000000025f3aa0}, @app=#<Rack::Affiliates:0x000000056f5a40 @app=#OmniAuth::Strategies::Facebook, @param="aff_id", @cookie_ttl=3 months, @cookie_domain=nil, @allow_overwrite=true, @cookie_path="/", @Extras=["coupon"]>>, @cache_control="max-age=0, private, must-revalidate", @no_cache_control="no-cache">>>, @parsers={#<Mime::Type:0x0000000103dfd0 @synonyms=["text/x-json", "application/jsonrequest"], @symbol=:json, @string="application/json", @hash=1152240052369587721>=>:json}>>, @default_options={:path=>"/", :domain=>nil, :expire_after=>nil, :secure=>false, :httponly=>true, :defer=>false, :renew=>false}, @key="_workspace_session", @cookie_only=true>, @env={"GATEWAY_INTERFACE"=>"CGI/1.1", "PATH_INFO"=>"/admin/articles/new", "QUERY_STRING"=>"", "REMOTE_ADDR"=>"10.240.1.60", "REMOTE_HOST"=>"10.240.1.60", "REQUEST_METHOD"=>"GET", "REQUEST_URI"=>"https://wedsnap-stevendelarwelle.c9users.io/blog/admin/articles/new", "SCRIPT_NAME"=>"/blog", "SERVER_NAME"=>"wedsnap-stevendelarwelle.c9users.io", "SERVER_PORT"=>"443", "SERVER_PROTOCOL"=>"HTTP/1.1", "SERVER_SOFTWARE"=>"WEBrick/1.3.1 (Ruby/2.3.4/2017-03-30)", "HTTP_HOST"=>"wedsnap-stevendelarwelle.c9users.io", "HTTP_UPGRADE_INSECURE_REQUESTS"=>"1", "HTTP_USER_AGENT"=>"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.96 Safari/537.36", "HTTP_ACCEPT"=>"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8", "HTTP_REFERER"=>"https://wedsnap-stevendelarwelle.c9users.io/blog/admin", "HTTP_ACCEPT_ENCODING"=>"gzip, deflate, br", "HTTP_ACCEPT_LANGUAGE"=>"en-US,en;q=0.9,und;q=0.8", "HTTP_COOKIE"=>"__stripe_mid=92452f79-db96-409a-8152-a4ca884b4089; _fbp=fb.1.1549309289242.1546460926; workspace_session=VzZ1bEo0Q011Z0hicUxqOC94SHQ0VGhSSFE1RDRnRlBVejlhV2VacVBmWGFoMXVjY2wvbUh3cDZPcktFYXJCaExpRmxLb29jZ21QSDNwZlZqU3NoK2N5cTB6QmhEOElhandlRnlMdjdRWFFhRmJnRVZBMmI5Rk82Tk83bDl5a2h2QWVacWliWDRQMEdkYU5HZHBZd0gxczhmUDYvQi83WkVkMnZoT2Rzck5RPS0tMUZZRmJsQWxHdEYzTVRvelhNWFpKQT09--0a8d90103763f2e9334b787621e51ecd9805e246", "HTTP_X_FORWARDED_PROTO"=>"https", "HTTP_X_FORWARDED_PORT"=>"443", "HTTP_X_REGION"=>"usw", "HTTP_X_FORWARDED_FOR"=>"97.107.39.143", "HTTP_CONNECTION"=>"keep-alive", "rack.version"=>[1, 3], "rack.input"=>#StringIO:0x0000000332f778, "rack.errors"=>#<IO:>, "rack.multithread"=>true, "rack.multiprocess"=>false, "rack.run_once"=>false, "rack.url_scheme"=>"http", "rack.hijack?"=>true, "rack.hijack"=>#<Proc:0x0000000332f3e0@/usr/local/rvm/gems/ruby-2.3.4/gems/rack-1.6.11/lib/rack/handler/webrick.rb:76 (lambda)>, "rack.hijack_io"=>nil, "HTTP_VERSION"=>"HTTP/1.1", "REQUEST_PATH"=>"/blog/admin/articles/new", "ORIGINAL_FULLPATH"=>"/blog/admin/articles/new", "ORIGINAL_SCRIPT_NAME"=>"", "action_dispatch.routes"=>#ActionDispatch::Routing::RouteSet:0x00000005b3ad58, "action_dispatch.parameter_filter"=>[:password], "action_dispatch.redirect_filter"=>[], "action_dispatch.secret_token"=>nil, "action_dispatch.secret_key_base"=>"446679dfd37d231ad48e0b0a5bf8ee74b8eb3ca9818fe2b0059bde32d4e39dcd2c2f3cc9a05798e121b4face44afabc1f5e608bd099e6cac477b96f55d985b77", "action_dispatch.show_exceptions"=>true, "action_dispatch.show_detailed_exceptions"=>true, "action_dispatch.logger"=>#<ActiveSupport::Logger:0x00000003435438 @progname=nil, @Level=0, @default_formatter=#<Logger::Formatter:0x000000034353c0 @datetime_format=nil>, @Formatter=#<ActiveSupport::Logger::SimpleFormatter:0x00000005182540 @datetime_format=nil>, @logdev=#<Logger::LogDevice:0x000000034352f8 @shift_size=nil, @shift_age=nil, @filename=nil, @dev=#File:/home/ubuntu/workspace/log/development.log, @mon_owner=nil, @mon_count=0, @mon_mutex=#Thread::Mutex:0x00000003435140>, @local_levels=#<ThreadSafe::Cache:0x000000034350f0 @backend={}, @default_proc=nil>>, "action_dispatch.backtrace_cleaner"=>#<Rails::BacktraceCleaner:0x00000001e6c2f0 @filters=[#Proc:0x00000001e6bd50@/usr/local/rvm/gems/ruby-2.3.4/gems/railties-4.2.8/lib/rails/backtrace_cleaner.rb:14, #Proc:0x00000001e6bb98@/usr/local/rvm/gems/ruby-2.3.4/gems/railties-4.2.8/lib/rails/backtrace_cleaner.rb:15, #Proc:0x00000001e6bb70@/usr/local/rvm/gems/ruby-2.3.4/gems/railties-4.2.8/lib/rails/backtrace_cleaner.rb:16, #Proc:0x00000001e6ae78@/usr/local/rvm/gems/ruby-2.3.4/gems/railties-4.2.8/lib/rails/backtrace_cleaner.rb:29], @Silencers=[#Proc:0x00000001e6abf8@/usr/local/rvm/gems/ruby-2.3.4/gems/railties-4.2.8/lib/rails/backtrace_cleaner.rb:19], @root="/home/ubuntu/workspace/">, "action_dispatch.key_generator"=>#<ActiveSupport::CachingKeyGenerator:0x00000003839db8 @key_generator=#<ActiveSupport::KeyGenerator:0x00000003839de0 @secret="446679dfd37d231ad48e0b0a5bf8ee74b8eb3ca9818fe2b0059bde32d4e39dcd2c2f3cc9a05798e121b4face44afabc1f5e608bd099e6cac477b96f55d985b77", @Iterations=1000>, @cache_keys=#<ThreadSafe::Cache:0x00000003839d90 @backend={"signed_global_ids64"=>"A\xCB\xE4\xA8\xDEu\x15\xD6\x85\x84TL\xC2\xD0\x8DA3\x18\xF8\x00\xC4)\xB6\x99\xADh{\xD6\x81\x13\xDAYm\x8B\x82E#\xCEw\x16\x00\xF4\xE8.\xA5\eH'?\x16L\xF5\xAE\xF60r]G\xEA\x02\xCF4\x95\xD3", "encrypted cookie64"=>"\xD3y\xBB;o\xDDWG\x9B;\x90X\xB4\x85z\xEEQG\xD8r\x00\xE4\xFC\x9D\xB2\xE9\xF00\xF7]\x19\xBD\xEA8n\x8De\xFD\xDD)b\x8D|\x9B\xF6\xDE\fY+\xF8\xD8/\xB8S)\xE1\x15\x13\xC7\xC5,#\xB8", "signed encrypted cookie64"=>"\xD1&tz\x12\xF2(C\xF4a\x13Lh\x1E\xA4\xC1\x91\x1A\xDB]5\xA2\x17\xB0\xB6\xD6\xFAi\xAD\xAB\x1EMt\xB6\xF4\x89\xAB?W\xC4\xE3\xE3\xB0J\xAD\x0E\xD6%\xE7g\x9A\xC7\xBC\x9D\xF2\xD8Q\xA6\xD2B\xDC\b\x879"}, @default_proc=nil>>, "action_dispatch.http_auth_salt"=>"http authentication", "action_dispatch.signed_cookie_salt"=>"signed cookie", "action_dispatch.encrypted_cookie_salt"=>"encrypted cookie", "action_dispatch.encrypted_signed_cookie_salt"=>"signed encrypted cookie", "action_dispatch.cookies_serializer"=>:json, "action_dispatch.cookies_digest"=>nil, "ROUTES_27998280_SCRIPT_NAME"=>"", "action_dispatch.request_id"=>"df6928b5-a860-40fd-8c47-414b7754bb9d", "action_dispatch.remote_ip"=>#<ActionDispatch::RemoteIp::GetIp:0x000000033f8290 @env={...}, @check_ip=true, @proxies=[#<IPAddr: IPv4:127.0.0.1/255.255.255.255>, #<IPAddr: IPv6:0000:0000:0000:0000:0000:0000:0000:0001/ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff>, #<IPAddr: IPv6:fc00:0000:0000:0000:0000:0000:0000:0000/fe00:0000:0000:0000:0000:0000:0000:0000>, #<IPAddr: IPv4:10.0.0.0/255.0.0.0>, #<IPAddr: IPv4:172.16.0.0/255.240.0.0>, #<IPAddr: IPv4:192.168.0.0/255.255.0.0>]>, "rack.session"=>#<ActionDispatch::Request::Session:0x00000003650fb0 ...>, "rack.session.options"=>#<ActionDispatch::Request::Session::Options:0x00000003650f10 @by=#<ActionDispatch::Session::CookieStore:0x000000056f57e8 @app=#<ActionDispatch::Flash:0x000000056f5810 @app=#<ActionDispatch::ParamsParser:0x000000056f58d8 @app=#<Rack::Head:0x000000056f5900 @app=#<Rack::ConditionalGet:0x000000056f5928 @app=#<Rack::ETag:0x000000056f5950 @app=#<Warden::Manager:0x000000056f5a18 @config={:default_scope=>:admin_user, :scope_defaults=>{}, :default_strategies=>{:admin_user=>[:rememberable, :database_authenticatable], :user=>[:rememberable, :database_authenticatable], :affiliate=>[:rememberable, :database_authenticatable]}, :intercept_401=>false, :failure_app=>#Devise::Delegator:0x000000025f3aa0}, @app=#<Rack::Affiliates:0x000000056f5a40 @app=#OmniAuth::Strategies::Facebook, @param="aff_id", @cookie_ttl=3 months, @cookie_domain=nil, @allow_overwrite=true, @cookie_path="/", @Extras=["coupon"]>>, @cache_control="max-age=0, private, must-revalidate", @no_cache_control="no-cache">>>, @parsers={#<Mime::Type:0x0000000103dfd0 @synonyms=["text/x-json", "application/jsonrequest"], @symbol=:json, @string="application/json", @hash=1152240052369587721>=>:json}>>, @default_options={:path=>"/", :domain=>nil, :expire_after=>nil, :secure=>false, :httponly=>true, :defer=>false, :renew=>false}, @key="_workspace_session", @cookie_only=true>, @env={...}, @DeleGate={:path=>"/", :domain=>nil, :expire_after=>nil, :secure=>false, :httponly=>true, :defer=>false, :renew=>false, :id=>"0d37833ef8fe886fc033fa96b74aef6b"}>, "warden"=>Warden::Proxy:28477180 @config={:default_scope=>:admin_user, :scope_defaults=>{}, :default_strategies=>{:admin_user=>[:rememberable, :database_authenticatable], :user=>[:rememberable, :database_authenticatable], :affiliate=>[:rememberable, :database_authenticatable]}, :intercept_401=>false, :failure_app=>#Devise::Delegator:0x000000025f3aa0}, "rack.request.query_string"=>"", "rack.request.query_hash"=>{}, "rack.request.cookie_hash"=>{"__stripe_mid"=>"92452f79-db96-409a-8152-a4ca884b4089", "_fbp"=>"fb.1.1549309289242.1546460926", "_workspace_session"=>"VzZ1bEo0Q011Z0hicUxqOC94SHQ0VGhSSFE1RDRnRlBVejlhV2VacVBmWGFoMXVjY2wvbUh3cDZPcktFYXJCaExpRmxLb29jZ21QSDNwZlZqU3NoK2N5cTB6QmhEOElhandlRnlMdjdRWFFhRmJnRVZBMmI5Rk82Tk83bDl5a2h2QWVacWliWDRQMEdkYU5HZHBZd0gxczhmUDYvQi83WkVkMnZoT2Rzck5RPS0tMUZZRmJsQWxHdEYzTVRvelhNWFpKQT09--0a8d90103763f2e9334b787621e51ecd9805e246"}, "rack.request.cookie_string"=>"__stripe_mid=92452f79-db96-409a-8152-a4ca884b4089; _fbp=fb.1.1549309289242.1546460926; workspace_session=VzZ1bEo0Q011Z0hicUxqOC94SHQ0VGhSSFE1RDRnRlBVejlhV2VacVBmWGFoMXVjY2wvbUh3cDZPcktFYXJCaExpRmxLb29jZ21QSDNwZlZqU3NoK2N5cTB6QmhEOElhandlRnlMdjdRWFFhRmJnRVZBMmI5Rk82Tk83bDl5a2h2QWVacWliWDRQMEdkYU5HZHBZd0gxczhmUDYvQi83WkVkMnZoT2Rzck5RPS0tMUZZRmJsQWxHdEYzTVRvelhNWFpKQT09--0a8d90103763f2e9334b787621e51ecd9805e246", "action_dispatch.cookies"=>#<ActionDispatch::Cookies::CookieJar:0x000000036d0eb8 @key_generator=#<ActiveSupport::CachingKeyGenerator:0x00000003839db8 @key_generator=#<ActiveSupport::KeyGenerator:0x00000003839de0 @secret="446679dfd37d231ad48e0b0a5bf8ee74b8eb3ca9818fe2b0059bde32d4e39dcd2c2f3cc9a05798e121b4face44afabc1f5e608bd099e6cac477b96f55d985b77", @Iterations=1000>, @cache_keys=#<ThreadSafe::Cache:0x00000003839d90 @backend={"signed_global_ids64"=>"A\xCB\xE4\xA8\xDEu\x15\xD6\x85\x84TL\xC2\xD0\x8DA3\x18\xF8\x00\xC4)\xB6\x99\xADh{\xD6\x81\x13\xDAYm\x8B\x82E#\xCEw\x16\x00\xF4\xE8.\xA5\eH'?\x16L\xF5\xAE\xF60r]G\xEA\x02\xCF4\x95\xD3", "encrypted cookie64"=>"\xD3y\xBB;o\xDDWG\x9B;\x90X\xB4\x85z\xEEQG\xD8r\x00\xE4\xFC\x9D\xB2\xE9\xF00\xF7]\x19\xBD\xEA8n\x8De\xFD\xDD)b\x8D|\x9B\xF6\xDE\fY+\xF8\xD8/\xB8S)\xE1\x15\x13\xC7\xC5,#\xB8", "signed encrypted cookie64"=>"\xD1&tz\x12\xF2(C\xF4a\x13Lh\x1E\xA4\xC1\x91\x1A\xDB]5\xA2\x17\xB0\xB6\xD6\xFAi\xAD\xAB\x1EMt\xB6\xF4\x89\xAB?W\xC4\xE3\xE3\xB0J\xAD\x0E\xD6%\xE7g\x9A\xC7\xBC\x9D\xF2\xD8Q\xA6\xD2B\xDC\b\x879"}, @default_proc=nil>>, @set_cookies={}, @delete_cookies={}, @host="wedsnap-stevendelarwelle.c9users.io", @secure=true, @options={:signed_cookie_salt=>"signed cookie", :encrypted_cookie_salt=>"encrypted cookie", :encrypted_signed_cookie_salt=>"signed encrypted cookie", :secret_token=>nil, :secret_key_base=>"446679dfd37d231ad48e0b0a5bf8ee74b8eb3ca9818fe2b0059bde32d4e39dcd2c2f3cc9a05798e121b4face44afabc1f5e608bd099e6cac477b96f55d985b77", :upgrade_legacy_signed_cookies=>false, :serializer=>:json, :digest=>nil}, @cookies={"__stripe_mid"=>"92452f79-db96-409a-8152-a4ca884b4089", "fbp"=>"fb.1.1549309289242.1546460926", "workspace_session"=>"VzZ1bEo0Q011Z0hicUxqOC94SHQ0VGhSSFE1RDRnRlBVejlhV2VacVBmWGFoMXVjY2wvbUh3cDZPcktFYXJCaExpRmxLb29jZ21QSDNwZlZqU3NoK2N5cTB6QmhEOElhandlRnlMdjdRWFFhRmJnRVZBMmI5Rk82Tk83bDl5a2h2QWVacWliWDRQMEdkYU5HZHBZd0gxczhmUDYvQi83WkVkMnZoT2Rzck5RPS0tMUZZRmJsQWxHdEYzTVRvelhNWFpKQT09--0a8d90103763f2e9334b787621e51ecd9805e246"}, @committed=false, @encrypted=#<ActionDispatch::Cookies::EncryptedCookieJar:0x000000036d07b0 @parent_jar=#<ActionDispatch::Cookies::CookieJar:0x000000036d0eb8 ...>, @options={:signed_cookie_salt=>"signed cookie", :encrypted_cookie_salt=>"encrypted cookie", :encrypted_signed_cookie_salt=>"signed encrypted cookie", :secret_token=>nil, :secret_key_base=>"446679dfd37d231ad48e0b0a5bf8ee74b8eb3ca9818fe2b0059bde32d4e39dcd2c2f3cc9a05798e121b4face44afabc1f5e608bd099e6cac477b96f55d985b77", :upgrade_legacy_signed_cookies=>false, :serializer=>:json, :digest=>nil}, @encryptor=#<ActiveSupport::MessageEncryptor:0x000000036c3858 @secret="\xD3y\xBB;o\xDDWG\x9B;\x90X\xB4\x85z\xEEQG\xD8r\x00\xE4\xFC\x9D\xB2\xE9\xF00\xF7]\x19", @sign_secret="\xD1&tz\x12\xF2(C\xF4a\x13Lh\x1E\xA4\xC1\x91\x1A\xDB]5\xA2\x17\xB0\xB6\xD6\xFAi\xAD\xAB\x1EMt\xB6\xF4\x89\xAB?W\xC4\xE3\xE3\xB0J\xAD\x0E\xD6%\xE7g\x9A\xC7\xBC\x9D\xF2\xD8Q\xA6\xD2B\xDC\b\x879", @cipher="aes-256-cbc", @verifier=#<ActiveSupport::MessageVerifier:0x000000036c3510 @secret="\xD1&tz\x12\xF2(C\xF4a\x13Lh\x1E\xA4\xC1\x91\x1A\xDB]5\xA2\x17\xB0\xB6\xD6\xFAi\xAD\xAB\x1EMt\xB6\xF4\x89\xAB?W\xC4\xE3\xE3\xB0J\xAD\x0E\xD6%\xE7g\x9A\xC7\xBC\x9D\xF2\xD8Q\xA6\xD2B\xDC\b\x879", @digest="SHA1", @serializer=ActiveSupport::MessageEncryptor::NullSerializer>, @serializer=ActiveSupport::MessageEncryptor::NullSerializer>>, @signed_or_encrypted=#<ActionDispatch::Cookies::EncryptedCookieJar:0x000000036d07b0 @parent_jar=#<ActionDispatch::Cookies::CookieJar:0x000000036d0eb8 ...>, @options={:signed_cookie_salt=>"signed cookie", :encrypted_cookie_salt=>"encrypted cookie", :encrypted_signed_cookie_salt=>"signed encrypted cookie", :secret_token=>nil, :secret_key_base=>"446679dfd37d231ad48e0b0a5bf8ee74b8eb3ca9818fe2b0059bde32d4e39dcd2c2f3cc9a05798e121b4face44afabc1f5e608bd099e6cac477b96f55d985b77", :upgrade_legacy_signed_cookies=>false, :serializer=>:json, :digest=>nil}, @encryptor=#<ActiveSupport::MessageEncryptor:0x000000036c3858 @secret="\xD3y\xBB;o\xDDWG\x9B;\x90X\xB4\x85z\xEEQG\xD8r\x00\xE4\xFC\x9D\xB2\xE9\xF00\xF7]\x19", @sign_secret="\xD1&tz\x12\xF2(C\xF4a\x13Lh\x1E\xA4\xC1\x91\x1A\xDB]5\xA2\x17\xB0\xB6\xD6\xFAi\xAD\xAB\x1EMt\xB6\xF4\x89\xAB?W\xC4\xE3\xE3\xB0J\xAD\x0E\xD6%\xE7g\x9A\xC7\xBC\x9D\xF2\xD8Q\xA6\xD2B\xDC\b\x879", @cipher="aes-256-cbc", @verifier=#<ActiveSupport::MessageVerifier:0x000000036c3510 @secret="\xD1&tz\x12\xF2(C\xF4a\x13Lh\x1E\xA4\xC1\x91\x1A\xDB]5\xA2\x17\xB0\xB6\xD6\xFAi\xAD\xAB\x1EMt\xB6\xF4\x89\xAB?W\xC4\xE3\xE3\xB0J\xAD\x0E\xD6%\xE7g\x9A\xC7\xBC\x9D\xF2\xD8Q\xA6\xD2B\xDC\b\x879", @digest="SHA1", @serializer=ActiveSupport::MessageEncryptor::NullSerializer>, @serializer=ActiveSupport::MessageEncryptor::NullSerializer>>>, "action_dispatch.request.unsigned_session_cookie"=>{"session_id"=>"0d37833ef8fe886fc033fa96b74aef6b", "_csrf_token"=>"3L+wAC58TSSkQj+VK8TDgNgOD8jvwarEZuSf8G2BSvs=", "user_id"=>1}, "action_dispatch.request.path_parameters"=>{:controller=>"lines/admin/articles", :action=>"new"}, "ROUTES_47830700_SCRIPT_NAME"=>"/blog", "action_controller.instance"=>#<Lines::Admin::ArticlesController:0x0000000371cfc0 @_action_has_layout=true, @_routes=nil, @_headers={"Content-Type"=>"text/html"}, @_status=200, @_request=#<ActionDispatch::Request:0x0000000371c048 @env={...}, @filtered_parameters={"controller"=>"lines/admin/articles", "action"=>"new"}, @filtered_env=nil, @filtered_path=nil, @protocol="https://", @port=443, @method=nil, @request_method="GET", @remote_ip=nil, @original_fullpath=nil, @fullpath="/blog/admin/articles/new", @ip=nil, @uuid=nil>, @_response=#<ActionDispatch::Response:0x00000003713f10 @mon_owner=nil, @mon_count=0, @mon_mutex=#Thread::Mutex:0x000000037137b8, @stream=#<ActionDispatch::Response::Buffer:0x00000003713650 @response=#<ActionDispatch::Response:0x00000003713f10 ...>, @buf=[], @closed=false>, @header={"X-Frame-Options"=>"SAMEORIGIN", "X-XSS-Protection"=>"1; mode=block", "X-Content-Type-Options"=>"nosniff"}, @status=200, @sending_file=false, @blank=false, @cv=#<MonitorMixin::ConditionVariable:0x00000003713628 @monitor=#<ActionDispatch::Response:0x00000003713f10 ...>, @cond=#Thread::ConditionVariable:0x000000037135d8>, @committed=false, @sending=false, @sent=false, @content_type="text/html", @charset=nil, @cache_control={}, @etag=nil, @request=#<ActionDispatch::Request:0x0000000371c048 @env={...}, @filtered_parameters={"controller"=>"lines/admin/articles", "action"=>"new"}, @filtered_env=nil, @filtered_path=nil, @protocol="https://", @port=443, @method=nil, @request_method="GET", @remote_ip=nil, @original_fullpath=nil, @fullpath="/blog/admin/articles/new", @ip=nil, @uuid=nil>>, @_env={...}, @_lookup_context=#<ActionView::LookupContext:0x000000037131f0 @details_key=#<ActionView::LookupContext::DetailsKey:0x007fb0ac8ee7e8 @hash=-4073985001365343598>, @details={:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :arb, :jbuilder]}, @skip_default_locale=false, @cache=true, @prefixes=["lines/admin/articles", "lines/admin/application", "lines/application"], @rendered_format=:html, @view_paths=#<ActionView::PathSet:0x00000003713150 @paths=[#<ActionView::OptimizedFileSystemResolver:0x000000034c2e50 @pattern=":prefix/:action{.:locale,}{.:formats,}{+:variants,}{.:handlers,}", @cache=#<ActionView::Resolver::Cache:0x000000034c2d38 @data=#<ActionView::Resolver::Cache::SmallCache:0x000000034c2b80 @backend={#<ActionView::LookupContext::DetailsKey:0x007fb0ac8ee7e8 @hash=-4073985001365343598>=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0ac8edc30 @backend={"index"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0ac8edb68 @backend={"lines/admin/articles"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0ac8eda78 @backend={false=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0ac8ed988 @backend={}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003a1d5f8@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003a1d5d0@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:47 (lambda)>>, "admin"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0ac8f3568 @backend={"layouts/lines"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0ac8f3478 @backend={false=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0ac8f3388 @backend={}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003a1d5f8@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003a1d5d0@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:47 (lambda)>>, "markdown_cheatsheet"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0af4c8aa8 @backend={"layouts/lines"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0af4c89b8 @backend={true=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0af4c88c8 @backend={}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003a1d5f8@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003a1d5d0@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:47 (lambda)>>, "flash"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0af4ef4c8 @backend={"lines/shared"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0af4ef3d8 @backend={true=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0af4ef2e8 @backend={[]=>[app/views/lines/shared/_flash.html.erb]}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003a1d5f8@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003a1d5d0@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:47 (lambda)>>, "new"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0af6a58f8 @backend={"lines/admin/articles"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0af6a5808 @backend={false=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0af6a56c8 @backend={}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003a1d5f8@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003a1d5d0@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:47 (lambda)>>, "form"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0af6662e8 @backend={"lines/admin/articles"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0af6661f8 @backend={true=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0af6660e0 @backend={}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003a1d5f8@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003a1d5d0@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:47 (lambda)>>, "picture_box"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0ac4bff28 @backend={"lines/admin/articles"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0ac4bfcd0 @backend={true=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0ac4bfa50 @backend={}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003a1d5f8@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003a1d5d0@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:47 (lambda)>>}, @default_proc=#<Proc:0x00000003a1d5a8@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:48 (lambda)>>}, @default_proc=#<Proc:0x00000003a1d580@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:49 (lambda)>>>, @path="/home/ubuntu/workspace/app/views">, #<ActionView::OptimizedFileSystemResolver:0x000000034ce430 @pattern=":prefix/:action{.:locale,}{.:formats,}{+:variants,}{.:handlers,}", @cache=#<ActionView::Resolver::Cache:0x000000034ce368 @data=#<ActionView::Resolver::Cache::SmallCache:0x000000034ce340 @backend={#<ActionView::LookupContext::DetailsKey:0x007fb0ac8ee7e8 @hash=-4073985001365343598>=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0ac8eca10 @backend={"index"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0ac8ec948 @backend={"lines/admin/articles"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0ac8ec858 @backend={false=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0ac8ec768 @backend={[]=>[/usr/local/rvm/gems/ruby-2.3.4/gems/lines-engine-1.2.6.1/app/views/lines/admin/articles/index.html.erb]}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003a1d5f8@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003a1d5d0@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:47 (lambda)>>, "admin"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0ac8f2460 @backend={"layouts/lines"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0ac8f2370 @backend={false=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0ac8f2280 @backend={[]=>[/usr/local/rvm/gems/ruby-2.3.4/gems/lines-engine-1.2.6.1/app/views/layouts/lines/admin.html.erb]}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003a1d5f8@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003a1d5d0@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:47 (lambda)>>, "markdown_cheatsheet"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0af4e3948 @backend={"layouts/lines"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0af4e3858 @backend={true=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0af4e3768 @backend={[]=>[/usr/local/rvm/gems/ruby-2.3.4/gems/lines-engine-1.2.6.1/app/views/layouts/lines/_markdown_cheatsheet.html.erb]}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003a1d5f8@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003a1d5d0@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:47 (lambda)>>, "new"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0af6a4480 @backend={"lines/admin/articles"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0af6a4340 @backend={false=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0af6a4228 @backend={[]=>[/usr/local/rvm/gems/ruby-2.3.4/gems/lines-engine-1.2.6.1/app/views/lines/admin/articles/new.html.erb]}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003a1d5f8@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003a1d5d0@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:47 (lambda)>>, "form"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0af664d30 @backend={"lines/admin/articles"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0af664c40 @backend={true=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0af664ad8 @backend={[]=>[/usr/local/rvm/gems/ruby-2.3.4/gems/lines-engine-1.2.6.1/app/views/lines/admin/articles/_form.html.erb]}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003a1d5f8@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003a1d5d0@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:47 (lambda)>>, "picture_box"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0ac4bd2c8 @backend={"lines/admin/articles"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0ac4bd070 @backend={true=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0ac4bce18 @backend={[]=>[/usr/local/rvm/gems/ruby-2.3.4/gems/lines-engine-1.2.6.1/app/views/lines/admin/articles/_picture_box.html.erb]}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003a1d5f8@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003a1d5d0@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:47 (lambda)>>}, @default_proc=#<Proc:0x00000003a1d5a8@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:48 (lambda)>>}, @default_proc=#<Proc:0x00000003a1d580@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:49 (lambda)>>>, @path="/usr/local/rvm/gems/ruby-2.3.4/gems/lines-engine-1.2.6.1/app/views">, #<ActionView::OptimizedFileSystemResolver:0x000000034cfd58 @pattern=":prefix/:action{.:locale,}{.:formats,}{+:variants,}{.:handlers,}", @cache=#<ActionView::Resolver::Cache:0x000000034cfcb8 @data=#<ActionView::Resolver::Cache::SmallCache:0x000000034cfc18 @backend={}, @default_proc=#<Proc:0x00000003a1d580@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:49 (lambda)>>>, @path="/usr/local/rvm/gems/ruby-2.3.4/gems/activeadmin-1.4.3/app/views">, #<ActionView::OptimizedFileSystemResolver:0x000000034d7918 @pattern=":prefix/:action{.:locale,}{.:formats,}{+:variants,}{.:handlers,}", @cache=#<ActionView::Resolver::Cache:0x000000034d78f0 @data=#<ActionView::Resolver::Cache::SmallCache:0x000000034d7800 @backend={}, @default_proc=#<Proc:0x00000003a1d580@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:49 (lambda)>>>, @path="/usr/local/rvm/gems/ruby-2.3.4/gems/kaminari-core-1.1.1/app/views">, #<ActionView::OptimizedFileSystemResolver:0x000000034f1f70 @pattern=":prefix/:action{.:locale,}{.:formats,}{+:variants,}{.:handlers,}", @cache=#<ActionView::Resolver::Cache:0x000000034f1e08 @data=#<ActionView::Resolver::Cache::SmallCache:0x000000034f1de0 @backend={}, @default_proc=#<Proc:0x00000003a1d580@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:49 (lambda)>>>, @path="/usr/local/rvm/gems/ruby-2.3.4/gems/devise-4.5.0/app/views">]>>, @_action_name="new", @_response_body=nil, @marked_for_same_origin_verification=true, @_config={}, @current_lines_user=#<Lines::User id: 1, email: "[email protected]", password_digest: "$2a$10$kAFoqYU/b4birGXVOMv4q.ihWuSNMoVoTYJxw4CRShj...", created_at: "2019-02-12 15:26:58", updated_at: "2019-02-12 15:26:58", reset_digest: nil, reset_sent_at: nil>, @_db_runtime=0.28017800000000004, @_view_renderer=#<ActionView::Renderer:0x000000037a8ef8 @lookup_context=#<ActionView::LookupContext:0x000000037131f0 @details_key=#<ActionView::LookupContext::DetailsKey:0x007fb0ac8ee7e8 @hash=-4073985001365343598>, @details={:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :arb, :jbuilder]}, @skip_default_locale=false, @cache=true, @prefixes=["lines/admin/articles", "lines/admin/application", "lines/application"], @rendered_format=:html, @view_paths=#<ActionView::PathSet:0x00000003713150 @paths=[#<ActionView::OptimizedFileSystemResolver:0x000000034c2e50 @pattern=":prefix/:action{.:locale,}{.:formats,}{+:variants,}{.:handlers,}", @cache=#<ActionView::Resolver::Cache:0x000000034c2d38 @data=#<ActionView::Resolver::Cache::SmallCache:0x000000034c2b80 @backend={#<ActionView::LookupContext::DetailsKey:0x007fb0ac8ee7e8 @hash=-4073985001365343598>=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0ac8edc30 @backend={"index"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0ac8edb68 @backend={"lines/admin/articles"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0ac8eda78 @backend={false=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0ac8ed988 @backend={}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003a1d5f8@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003a1d5d0@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:47 (lambda)>>, "admin"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0ac8f3568 @backend={"layouts/lines"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0ac8f3478 @backend={false=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0ac8f3388 @backend={}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003a1d5f8@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003a1d5d0@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:47 (lambda)>>, "markdown_cheatsheet"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0af4c8aa8 @backend={"layouts/lines"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0af4c89b8 @backend={true=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0af4c88c8 @backend={}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003a1d5f8@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003a1d5d0@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:47 (lambda)>>, "flash"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0af4ef4c8 @backend={"lines/shared"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0af4ef3d8 @backend={true=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0af4ef2e8 @backend={[]=>[app/views/lines/shared/_flash.html.erb]}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003a1d5f8@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003a1d5d0@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:47 (lambda)>>, "new"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0af6a58f8 @backend={"lines/admin/articles"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0af6a5808 @backend={false=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0af6a56c8 @backend={}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003a1d5f8@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003a1d5d0@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:47 (lambda)>>, "form"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0af6662e8 @backend={"lines/admin/articles"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0af6661f8 @backend={true=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0af6660e0 @backend={}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003a1d5f8@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003a1d5d0@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:47 (lambda)>>, "picture_box"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0ac4bff28 @backend={"lines/admin/articles"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0ac4bfcd0 @backend={true=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0ac4bfa50 @backend={}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003a1d5f8@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003a1d5d0@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:47 (lambda)>>}, @default_proc=#<Proc:0x00000003a1d5a8@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:48 (lambda)>>}, @default_proc=#<Proc:0x00000003a1d580@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:49 (lambda)>>>, @path="/home/ubuntu/workspace/app/views">, #<ActionView::OptimizedFileSystemResolver:0x000000034ce430 @pattern=":prefix/:action{.:locale,}{.:formats,}{+:variants,}{.:handlers,}", @cache=#<ActionView::Resolver::Cache:0x000000034ce368 @data=#<ActionView::Resolver::Cache::SmallCache:0x000000034ce340 @backend={#<ActionView::LookupContext::DetailsKey:0x007fb0ac8ee7e8 @hash=-4073985001365343598>=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0ac8eca10 @backend={"index"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0ac8ec948 @backend={"lines/admin/articles"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0ac8ec858 @backend={false=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0ac8ec768 @backend={[]=>[/usr/local/rvm/gems/ruby-2.3.4/gems/lines-engine-1.2.6.1/app/views/lines/admin/articles/index.html.erb]}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003a1d5f8@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003a1d5d0@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:47 (lambda)>>, "admin"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0ac8f2460 @backend={"layouts/lines"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0ac8f2370 @backend={false=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0ac8f2280 @backend={[]=>[/usr/local/rvm/gems/ruby-2.3.4/gems/lines-engine-1.2.6.1/app/views/layouts/lines/admin.html.erb]}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003a1d5f8@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003a1d5d0@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:47 (lambda)>>, "markdown_cheatsheet"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0af4e3948 @backend={"layouts/lines"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0af4e3858 @backend={true=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0af4e3768 @backend={[]=>[/usr/local/rvm/gems/ruby-2.3.4/gems/lines-engine-1.2.6.1/app/views/layouts/lines/_markdown_cheatsheet.html.erb]}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003a1d5f8@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003a1d5d0@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:47 (lambda)>>, "new"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0af6a4480 @backend={"lines/admin/articles"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0af6a4340 @backend={false=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0af6a4228 @backend={[]=>[/usr/local/rvm/gems/ruby-2.3.4/gems/lines-engine-1.2.6.1/app/views/lines/admin/articles/new.html.erb]}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003a1d5f8@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003a1d5d0@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:47 (lambda)>>, "form"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0af664d30 @backend={"lines/admin/articles"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0af664c40 @backend={true=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0af664ad8 @backend={[]=>[/usr/local/rvm/gems/ruby-2.3.4/gems/lines-engine-1.2.6.1/app/views/lines/admin/articles/_form.html.erb]}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003a1d5f8@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003a1d5d0@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:47 (lambda)>>, "picture_box"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0ac4bd2c8 @backend={"lines/admin/articles"=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0ac4bd070 @backend={true=>#<ActionView::Resolver::Cache::SmallCache:0x007fb0ac4bce18 @backend={[]=>[/usr/local/rvm/gems/ruby-2.3.4/gems/lines-engine-1.2.6.1/app/views/lines/admin/articles/_picture_box.html.erb]}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003a1d5f8@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003a1d5d0@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:47 (lambda)>>}, @default_proc=#<Proc:0x00000003a1d5a8@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:48 (lambda)>>}, @default_proc=#<Proc:0x00000003a1d580@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:49 (lambda)>>>, @path="/usr/local/rvm/gems/ruby-2.3.4/gems/lines-engine-1.2.6.1/app/views">, #<ActionView::OptimizedFileSystemResolver:0x000000034cfd58 @pattern=":prefix/:action{.:locale,}{.:formats,}{+:variants,}{.:handlers,}", @cache=#<ActionView::Resolver::Cache:0x000000034cfcb8 @data=#<ActionView::Resolver::Cache::SmallCache:0x000000034cfc18 @backend={}, @default_proc=#<Proc:0x00000003a1d580@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:49 (lambda)>>>, @path="/usr/local/rvm/gems/ruby-2.3.4/gems/activeadmin-1.4.3/app/views">, #<ActionView::OptimizedFileSystemResolver:0x000000034d7918 @pattern=":prefix/:action{.:locale,}{.:formats,}{+:variants,}{.:handlers,}", @cache=#<ActionView::Resolver::Cache:0x000000034d78f0 @data=#<ActionView::Resolver::Cache::SmallCache:0x000000034d7800 @backend={}, @default_proc=#<Proc:0x00000003a1d580@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:49 (lambda)>>>, @path="/usr/local/rvm/gems/ruby-2.3.4/gems/kaminari-core-1.1.1/app/views">, #<ActionView::OptimizedFileSystemResolver:0x000000034f1f70 @pattern=":prefix/:action{.:locale,}{.:formats,}{+:variants,}{.:handlers,}", @cache=#<ActionView::Resolver::Cache:0x000000034f1e08 @data=#<ActionView::Resolver::Cache::SmallCache:0x000000034f1de0 @backend={}, @default_proc=#<Proc:0x00000003a1d580@/usr/local/rvm/gems/ruby-2.3.4/gems/actionview-4.2.8/lib/action_view/template/resolver.rb:49 (lambda)>>>, @path="/usr/local/rvm/gems/ruby-2.3.4/gems/devise-4.5.0/app/views">]>>>, @_view_context_class=#Class:0x007fb0ac8a1358, @_url_options={:host=>"wedsnap-stevendelarwelle.c9users.io", :port=>nil, :protocol=>"https://", :_recall=>{:controller=>"lines/admin/articles", :action=>"new"}}, @article=#<Lines::Article id: nil, title: nil, sub_title: nil, content: nil, published: false, published_at: nil, hero_image: nil, created_at: nil, updated_at: nil, slug: nil, gplus_url: nil, featured: false, document: nil, short_hero_image: nil, teaser: nil>>, "action_dispatch.request.content_type"=>nil, "action_dispatch.request.request_parameters"=>{}, "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.parameters"=>{"controller"=>"lines/admin/articles", "action"=>"new"}, "action_dispatch.request.formats"=>[#<Mime::Type:0x0000000104ffa0 @synonyms=["application/xhtml+xml"], @symbol=:html, @string="text/html", @hash=25463599696352721>]}, @DeleGate={"session_id"=>"0d37833ef8fe886fc033fa96b74aef6b", "_csrf_token"=>"3L+wAC58TSSkQj+VK8TDgNgOD8jvwarEZuSf8G2BSvs=", "user_id"=>1}, @loaded=true, @exists=true>

undefined method `helper` for ActionController::API:Class

I'm using Rails controllers that inherit from ActionController::Base and ActionController::API, and when I run specs, this happens:

NoMethodError:
  undefined method `helper' for ActionController::API:Class
# /path/to/gems/lines-engine-1.2.3/lib/lines/engine.rb:33:in `block (2 levels) in <class:Engine>'

Weirdly, the app runs fine (w/o this error) when I run it using bundle exec puma -C config/puma.rb.

hellooo

i'm trying to integrate this blog onto a page of my rails application,

ive tried using different yields, renders

is this possible even?

Undefined variable: "$max-width".

New install today Rails 5.1.

Getting the following error on first-time load: Undefined variable: "$max-width".

Extracted source (around line #2):            
.article {
  max-width: $max-width;
  font-family: $Merriweather;
  line-height: 1.5em;
  color: $black;

Sass is installed. Is this not declared?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.