Sha256: 8908c7f697d2d05607cb0288507852b82f8f9f5071e0aed14ae83a0916a92865

Contents?: true

Size: 232 Bytes

Versions: 9

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

9 entries across 9 versions & 1 rubygems

Version Path
faml-0.7.3 spec/rails/app/controllers/books_controller.rb
faml-0.7.2 spec/rails/app/controllers/books_controller.rb
faml-0.7.1 spec/rails/app/controllers/books_controller.rb
faml-0.7.0 spec/rails/app/controllers/books_controller.rb
faml-0.6.5 spec/rails/app/controllers/books_controller.rb
faml-0.6.4 spec/rails/app/controllers/books_controller.rb
faml-0.6.3 spec/rails/app/controllers/books_controller.rb
faml-0.6.2 spec/rails/app/controllers/books_controller.rb
faml-0.6.1 spec/rails/app/controllers/books_controller.rb