Skip to content

Instantly share code, notes, and snippets.

Artur Małecki arturmalecki

Block or report user

Report or block arturmalecki

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View helper
def dam_image_tag asset, options = {}
width = options[:width] || 300
height = options[:height] || nil
image_tag dam_state_typical_url(asset), :width => width, :height => height
end
def dam_state_typical_url model, options = {}
use_region_fallback = model.is_a?(TravelReport) && model.region_code
You can’t perform that action at this time.