_dump

_dump(*args) Instance Public methods Also aliased as: _dump_without_zone

environment

environment() Instance Public methods

hidden_field_tag

hidden_field_tag(name, value = nil, options = {}) Instance Public methods Creates a hidden form input field used to transmit data that would be lost due to HTTP's statelessness or data that should be hidden from the user. Options Creates standard HTML attributes for the tag. Examples hidden_field_tag 'tags_list' # => <input id="tags_list" name="tags_list" type="hidden" /> hidden_field_tag 'token', 'VUBJKB23UIVI1UU1VOBVI@' # => <input id="token" name="token" type=

create

create() Instance Public methods

inline

inline() Instance Public methods

commit!

commit!() Instance Public methods

checkout

checkout() Instance Public methods Check-out a database connection from the pool, indicating that you want to use it. You should call checkin when you no longer need this. This is done by either returning and leasing existing connection, or by creating a new connection and leasing it. If all connections are leased and the pool is at capacity (meaning the number of currently leased connections is greater than or equal to the size limit set), an ActiveRecord::ConnectionTimeoutError e

form_for

form_for(record, options = {}, &block) Instance Public methods Creates a form that allows the user to create or update the attributes of a specific model object. The method can be used in several slightly different ways, depending on how much you wish to rely on Rails to infer automatically from the model how the form should be constructed. For a generic model object, a form can be created by passing form_for a string or symbol representing the object we are concerned with: <

singular_route_key

singular_route_key(record_or_class) Class Public methods Returns string to use while generating route names. It differs for namespaced models regarding whether it's inside isolated engine. # For isolated engine: ActiveModel::Naming.singular_route_key(Blog::Post) # => "post" # For shared engine: ActiveModel::Naming.singular_route_key(Blog::Post) # => "blog_post"

run

run(preloader) Instance Public methods