supports_migrations?

supports_migrations?() Instance Public methods Returns true, since this connection adapter supports migrations.

rake_tasks

rake_tasks(&blk) Class Public methods

test_quoted_time_local

test_quoted_time_local() Instance Public methods

application_trace

application_trace() Instance Public methods

attribute_alias?

attribute_alias?(new_name) Instance Public methods Is new_name an alias?

increment_counter

increment_counter(counter_name, id) Instance Public methods Increment a numeric field by one, via a direct SQL update. This method is used primarily for maintaining counter_cache columns that are used to store aggregate values. For example, a DiscussionBoard may cache posts_count and comments_count to avoid running an SQL query to calculate the number of posts and comments there are, each time it is displayed. Parameters counter_name - The name of the field that should be incremen

use_renderers

use_renderers(*args) Instance Public methods Also aliased as: use_renderer

handle_unverified_request

handle_unverified_request() Instance Public methods

json_resource_errors

json_resource_errors() Instance Protected methods

audio_tag

audio_tag(*sources) Instance Public methods Returns an HTML audio tag for the source. The source can be full path or file that exists in your public audios directory. audio_tag("sound") # => <audio src="/audios/sound" /> audio_tag("sound.wav") # => <audio src="/audios/sound.wav" /> audio_tag("sound.wav", autoplay: true, controls: true) # => <audio autoplay="autoplay" controls="controls" src="/audios/sound.wav" /> audio_tag("sound.wav", "sound.mid") # =>