Module Pickle::Session
In: lib/pickle/session/parser.rb
lib/pickle/session.rb

Methods

Classes and Modules

Module Pickle::Session::Parser

Public Class methods

Protected Class methods

Public Instance methods

if a column exists in the table which matches the singular factory name, this is used as the pickle ref

return the original model stored by create_model or find_model

like created_model, but raise an error if it can‘t be found

predicate version which raises no errors

return all original models of specified type

if a column exists in the table which matches the singular factory name, this is used as the pickle ref

return a newly selected model

like model, but raise an error if it can‘t be found

predicate version which raises no errors

return all models of specified type (freshly selected from the database)

Protected Instance methods

if the factory name != the model name, store under both names

[Validate]