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
| +function ($) { "use strict"; | |
| var LiveFilter = { | |
| initialize: function() { | |
| if($('#live_filter_form').length) { | |
| LiveFilter.initLocationFilterReload() | |
| LiveFilter.initializeCheckBoxGroup() | |
| LiveFilter.initializeClosedPropFilters() | |
| LiveFilter.initializeChangeLocationClearMap() | |
| LiveFilter.form = $('#live_filter_form') |
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
| def find_properties(query_options = {}) | |
| Property. | |
| where(publish_prices: true). | |
| where("(properties.sale AND properties.sale_price > 0) OR (properties.rental AND properties.rent > 0)"). | |
| joins(:property_images). | |
| scoped_for_sitemap(query_options, true). | |
| includes(organization: [:import_batch]). | |
| where("(organizations.import_batch_id IS NULL OR import_batches.format <> ?)", EXCLUDE_FROM_IMPORT_BATCH). | |
| uniq. | |
| extend(KaminariAutoPaginate) |
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
| class EasybrokerFeedGenerator < FeedGenerator | |
| EASY_AVISO_FEED_NAME = "EasyAviso" | |
| VERSION = '1.0' | |
| def conditions_for_country(country) | |
| { | |
| :conditions => "countries.id = #{country.id}", | |
| :order => 'properties.organization_id ASC, properties.id ASC' # we sort them by agency on xml | |
| } |
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
| App 614390 stderr: from /home/concili/rubyvenv/rankingdesk__com/2.1/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call' | |
| App 614390 stderr: from /home/concili/rubyvenv/rankingdesk__com/2.1/gems/railties-4.2.4/lib/rails/application.rb:165:in `call' | |
| App 614390 stderr: from /home/concili/rubyvenv/rankingdesk__com/2.1/gems/railties-4.2.4/lib/rails/engine.rb:514:in `call' | |
| App 614390 stderr: from /home/concili/rubyvenv/rankingdesk__com/2.1/gems/railties-4.2.4/lib/rails/application.rb:246:in `env_config' | |
| App 614390 stderr: from /home/concili/rubyvenv/rankingdesk__com/2.1/gems/railties-4.2.4/lib/rails/application.rb:534:in `validate_secret_key_config!' | |
| App 614390 stderr: from /home/concili/rubyvenv/rankingdesk__com/2.1/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call' | |
| App 614390 stderr: from /home/concili/rubyvenv/rankingdesk__com/2.1/gems/railties-4.2.4/lib/rails/application.rb:165:in `call' | |
| App 614390 stderr: fr |
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
| diff --git a/app/models/product.rb b/app/models/product.rb | |
| index 85a74bd..85d04b0 100644 | |
| --- a/app/models/product.rb | |
| +++ b/app/models/product.rb | |
| @@ -668,7 +668,8 @@ class Product < ActiveRecord::Base | |
| :is_returnable, | |
| :show_as, | |
| :display_all_measurements, | |
| - :inventory_classification_id | |
| + :inventory_classification_id, |
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
| (function() { | |
| var options = { | |
| productsSearchPath: '/s/Sites-modcloth-Site/dw/shop/v16_9/product_search', | |
| productsPath: '/s/Sites-modcloth-Site/dw/shop/v16_9/products/({product_ids})', | |
| apiParams: { | |
| client_id: 'dd7cd63e-1cac-4ebb-ad88-618de6960926', | |
| sort: 'bestSellers', | |
| expand: 'images,prices', | |
| }, | |
| searchOptions: { |
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
| cache = ActiveSupport::Cache::MemoryStore.new(expires_in: 1.minutes) | |
| cache.fetch('CLIENT_ID') do | |
| client = Savon.client(wsdl: 'http://service.example.com?wsdl') | |
| client.body | |
| 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
| NameVirtualHost *:80 | |
| <VirtualHost *:80> | |
| # The ServerName directive sets the request scheme, hostname and port that | |
| # the server uses to identify itself. This is used when creating | |
| # redirection URLs. In the context of virtual hosts, the ServerName | |
| # specifies what hostname must appear in the request's Host: header to | |
| # match this virtual host. For the default virtual host (this file) this | |
| # value is not decisive as it is used as a last resort host regardless. | |
| # However, you must set it for any further virtual host explicitly. |
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
| <shipping_order_advice_request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:demandware.com:bf:api:core:v1"> | |
| <instructions> | |
| <instruction i:type="shipping_order_advice_instruction_approve" /></instruction> | |
| </instructions> | |
| <key> | |
| <guid>shipping_order_guid</guid> | |
| </key> | |
| </shipping_order_advice_request> |
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
| <?xml version='1.0' encoding='UTF-8'?> | |
| <shipping_order_advice_request xmlns="urn:demandware.com:bf:api:core:v1"> | |
| <instructions> | |
| <instruction xmlns="urn:demandware.com:bf:api:core:v1" xmlns:i="http://www.w3.org/2001/XMLSchema-instance" i:type="shipping_order_advice_instruction_cancel_item"> | |
| <key> | |
| <id>item_id</id> | |
| </key> | |
| <quantity>qty</quantity> | |
| <reason>reason</reason> | |
| <suppress_order_suspension>false</suppress_order_suspension> |