This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Loja</title> | |
<%= stylesheet_link_tag :all %> | |
<%= javascript_include_tag :defaults %> | |
<%= csrf_meta_tag %> | |
</head> | |
<body> | |
<div id="colunas"> |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Blog Curso Ruby On Rails</title> | |
<%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %> | |
<%= javascript_include_tag "application", "data-turbolinks-track" => true %> | |
<%= csrf_meta_tags %> | |
</head> | |
<body> | |
<div class="container"> |
This file contains 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
NoMethodError: undefined method `compile' for #<String:0xb382808> | |
from /home/douglas/.rvm/gems/ruby-2.1.4/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:17:in `to_sql' | |
from /home/douglas/.rvm/gems/ruby-2.1.4/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:36:in `select_all' | |
from /home/douglas/.rvm/gems/ruby-2.1.4/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/query_cache.rb:70:in `select_all' | |
from /home/douglas/.rvm/gems/ruby-2.1.4/gems/activerecord-4.2.0/lib/active_record/relation/calculations.rb:264:in `execute_simple_calculation' | |
from /home/douglas/.rvm/gems/ruby-2.1.4/gems/activerecord-4.2.0/lib/active_record/relation/calculations.rb:221:in `perform_calculation' | |
from /home/douglas/.rvm/gems/ruby-2.1.4/gems/activerecord-4.2.0/lib/active_record/relation/calculations.rb:127:in `calculate' | |
from /home/douglas/.rvm/gems/ruby-2.1.4/gems/activerecord-4.2.0/lib/active_record/relation/calculat |
This file contains 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
"use strict"; | |
window.Religiosos = { | |
Pesquisas: { | |
configuraPesquisaAvancada: function($elem){ | |
var $botaoToggle = $elem.find(".botao-pesquisa-avancada"); | |
var pesquisaAvancada = $elem.data().pesquisaAvancada; | |
Religiosos.Pesquisas.setPesquisaAvancada($elem, pesquisaAvancada, $botaoToggle, true); | |
$botaoToggle.click(function(){ |
This file contains 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
FROM ruby:2.2 | |
MAINTAINER Wonder Sistemas <wonder@wonder.com.br> | |
RUN apt-get update -qq && apt-get install -y build-essential | |
RUN apt-get install -y nodejs | |
RUN apt-get install -y libgmp3-dev | |
# Gems | |
RUN gem install bundler | |
RUN mkdir -p /usr/src/probus/src |
This file contains 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
declare | |
a clob; | |
begin | |
a := '2015-11-26 20:21:42`a,715 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/WMobileServer]] I, [2015-11-26T20:21:42.715000 #29889] 2015-11-26 20:21:42,715 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/WMobileServer]] I, [2015-11-26T20:21:42.715000 #29889] 2015-11-26 20:21:42,715 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/WMobileServer]] I, [2015-11-26T20:21:42.715000 #29889] 2015-11-26 20:21:42,715 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/WMobileServer]] I, [2015-11-26T20:21:42.715000 #29889] 2015-11-26 20:21:42,715 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/WMobileServer]] I, [2015-11-26T20:21:42.715000 #29889] 2015-11-26 20:21:42,715 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/WMobileServer]] I, [2015-11-26T20:21:42.715000 #29889] 2015-11-26 20:21:42,715 INFO [org.apache.catalina.core.ContainerBase.[jboss. |
This file contains 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 composicao | |
comp = ProdutoCompos.arel_table | |
prod = Produto.arel_table | |
sql = comp. | |
join(prod).on(comp[:w_id_produto].eq(prod[:w_id])). | |
where(prod[:mob_dt_alteracao].gteq(@vendedor.last_sync). | |
or(comp[:mob_dt_alteracao].gteq(@vendedor.last_sync))). | |
take(params[:limit]). | |
skip(params[:offset]). |
This file contains 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 simulateDragDrop(sourceNode, destinationNode) { | |
var EVENT_TYPES = { | |
DRAG_END: 'dragend', | |
DRAG_START: 'dragstart', | |
DROP: 'drop' | |
} | |
function createCustomEvent(type) { | |
var event = document.createEvent("CustomEvent") | |
event.initCustomEvent(type, true, true, null) |
This file contains 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
.home_controller.index_action { | |
background-color: blue; | |
} |
OlderNewer