This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Abingdon Road | |
Adam Drive | |
Adam Park | |
Adam Road | |
Adis Road | |
Admiralty Drive | |
Admiralty Lane | |
Admiralty Link | |
Admiralty Road | |
Admiralty Road East |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.count { | |
border: 1px solid #D4D4D4; | |
font-size: 11px; | |
font-weight: bold; | |
padding: 0px 8px; | |
line-height: 20px; | |
margin-left: 10px; | |
border-radius: 2px; | |
color: #333; | |
background-color: white; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scenario 'I should see user soft delete button disabled' do | |
within("#user_#{@user.id}") do | |
page.should have_link I18n.t('soft_destroyed'), disabled: true | |
end | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel='canonical' href: '/home' /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'mixpanel_client' | |
config = {api_key: 'FOO', api_secret: 'BAR'} | |
client = Mixpanel::Client.new(config) | |
data = client.request('engage', { | |
where: 'not defined(properties["Name"])' | |
}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sql = '1 = 1' | |
values = {} | |
if params[:foo].present? | |
sql << 'AND foo >= :foo' | |
values[:foo] = params[:foo] | |
end | |
if params[:bar].present? | |
sql << 'AND bar < :bar' |
OlderNewer