To turn off without having to add options:
# application.rb
config.generators.assets = false
config.generators.helper = false
class EpisodeSearch | |
attr_reader :ability, :options | |
delegate :sanitize, to: Episode | |
def initialize(ability, options = {}) | |
@ability = ability | |
@options = options.dup | |
end | |
def tag |
https://us04web.zoom.us/j/75781826492?pwd=VybEkJbdwm0ZZNb8bj9epFs6DtduNd.1#success |
app/views/youtubes/_thumbnail.html.erb | |
<div> | |
<%= image_tag youtube.thumbnail_url, style: "max-width:400px" %> | |
</div> |
# Call scopes directly from your URL params: | |
# | |
# @products = Product.filter(params.slice(:status, :location, :starts_with)) | |
module Filterable | |
extend ActiveSupport::Concern | |
module ClassMethods | |
# Call the class methods with names based on the keys in <tt>filtering_params</tt> | |
# with their associated values. For example, "{ status: 'delayed' }" would call |
1. Flashing the recovery image: | |
fastboot flash recovery recovery.img | |
2. Flash the kernel and bootloader: | |
fastboot flash boot boot.img | |
3. Erase a partition: | |
fastboot erase cache |
initialize
: once, when the controller is first instantiatedconnect
: anytime the controller is connected to the DOM