Sha256: e14566bb61fb941beb6c11796aab987038b13481c202cca5291e046f11284aa6
Contents?: true
Size: 232 Bytes
Versions: 2
Compression:
Stored size: 232 Bytes
Contents
# frozen_string_literal: true class BooksController < ApplicationController def hello end def with_variables @book = Book.new(params.permit(:title)) end def object_ref @book = Book.new(id: params[:id]) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
faml-0.8.1 | spec/rails/app/controllers/books_controller.rb |
faml-0.8.0 | spec/rails/app/controllers/books_controller.rb |