Bogdan Gusiev bogdan

View liquid_template.html.haml
1 2 3 4 5 6 7 8 9 10
!!!
%html
%head
= all_layouts_head
= javascript_include_tag(:bootstrap_offers_show)
%body{class: current_view_body_class}
- if @campaign.is_a?(DoubleSidedDealCampaign) && !inline_integration? && @view_setup.try(:name) == "offers_show"
= render(layout: "layouts/actions/overlay") { yield }
- else
= yield
View html.html
1 2 3 4 5 6 7 8 9
#<html>
#<head>
#</head>
#<body>
#<p>
#Hello <strong>World</strong>
#</p>
#</body>
#</html>
View int_success.html
1 2 3 4 5 6 7 8 9 10
<html>
<head>
</head>
<body>
<!-- Begin Curebit integration code -->
<script type="text/javascript">
//<![CDATA[
(function(){function load_js(){var s=document.createElement('script');s.type='text/javascript';s.async=true; s.src='//d2jjzw81hqbuqv.cloudfront.net/assets/api/all-0.6.js'; var x=document.getElementsByTagName('script')[0];x.parentNode.insertBefore(s,x)} if(window.attachEvent)window.attachEvent('onload',load_js);else window.addEventListener('load',load_js,false)})();
View test.html
1 2 3 4 5 6 7 8 9 10
<html>
<head>
</head>
<body>
 
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<!-- Begin Curebit integration code -->
<script>
//<![CDATA[
View offers_controller.rb
1 2
if params[:sample_from_campaign_hash]
Campaign::find_by_unique_hash(params[:sample_from_campaign_hash]).sample_offer
View datagrid_csv.rb
1 2 3 4 5 6 7 8 9 10
class TimeEntryReportsController < ApplicationController
 
def index
@time_entry_report = TimeEntryReport.new(params[:time_entry_report])
respond_to do |f|
f.html do
@assets = @time_entry_report.assets.page(params[:page])
end
f.csv do
send_data @time_entry_report.to_csv, type: "text/csv", disposition: 'inline'
View index.html
1 2 3 4 5 6 7 8 9
<html>
<head></head>
<body>
 
<div id='place-for-curebit-iframe'>
<script>
SegmentIo.curebit_register_affiliate({campaign_tags: ['something'], responsive: true});
</script>
</div>
View query_methods.rb
1 2 3 4 5 6 7 8 9
 
def build_select(arel, selects)
unless selects.empty?
@implicit_readonly = false
arel.project(*selects)
else
arel.project(@klass.arel_table[Arel.star])
end
end
View toms.html
1 2 3 4 5 6 7 8 9 10
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<!-- Begin Curebit integration code -->
<h1 align="center" style="margin: 20px 0; padding: 20px 0; width:100%; height: 30px; background-color: red;">
site header
</h1>
<script>
View pluck_ips.rb
1 2 3 4 5 6 7 8 9 10
 
require "diffbench"
require "benchmark/ips"
require 'perftools'
require "bundler"
Bundler.require
$:.unshift "../railties/lib"
$:.unshift "../activesupport/lib"
$:.unshift "../activemodel/lib"
$:.unshift "../activerecord/lib"
Something went wrong with that request. Please try again.