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
class ApplicationController < ActionController::Base | |
end |
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
[6/11/12 12:59:56 PM] Basilio Briceño: si, la otra cosa que personalmente quiero ver contigo | |
[6/11/12 1:00:01 PM] Basilio Briceño: es la parte de la infraestructura | |
[6/11/12 1:00:44 PM] Basilio Briceño: como sabes, hay intereses a los que les vendria muy bien que el servicio se cayera | |
[6/11/12 1:01:19 PM] Basilio Briceño: por lo que me gustaria ver contigo el armar una infraestructura distribuida | |
[6/11/12 1:01:35 PM] Basilio Briceño: para evitar cualquier problema que nos pudiera ocasionar downtime | |
[6/11/12 1:01:57 PM] Jorge Pardiñas: la infraestrucutra la he estado pensando en el cloud services de heroku | |
[6/11/12 1:02:23 PM] Basilio Briceño: mmhm, quiza pueda conseguir mas servidores | |
[6/11/12 1:02:39 PM] Basilio Briceño: con buenos sysadmins detras | |
[6/11/12 1:02:56 PM] Basilio Briceño: que colaboren en mantener el uptime | |
[6/11/12 1:03:09 PM] Jorge Pardiñas: el poblema que le veo seria el tiempo de escalabilidad |
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
class Answer < ActiveRecord::Base | |
include Votes | |
act_as_votes | |
end |
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
Namespace('window.core.modals'); | |
(function($, self) { | |
self.extend({ | |
initialize: function() { | |
bindCloseButton(); | |
bindEscapeButton(); | |
bindResizeEvent(); |
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 handleFileSelect(evt) { | |
var files = evt.target.files; // FileList object | |
window.fileContent = evt.target.result; | |
// files is a FileList of File objects. List some properties. | |
var output = []; | |
var contents = e.target.result; | |
for (var i = 0, f; f = files[i]; i++) { | |
output.push('<li><strong>', escape(f.name), '</strong> (', f.type || 'n/a', ') - ', |
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
class Product < ActiveRecord::Base | |
attr_accessible :name, :qty | |
has_many :product_sales | |
end | |
class Sale < ActiveRecord::Base | |
belongs_to :salesman | |
has_many :product_sales | |
end |
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
scrollInfinite = { | |
initialize: function() { | |
_this = this; | |
this.template = _.template($('#artwork-template').html()); | |
this.$container = $('#products-list'); | |
this.spinner = $($('#spinner-template').html()); | |
this.page = 2; | |
this.scrollAjaxStarted = false; | |
this.bottomOfPage = false; | |
this.onScroll(); |
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
Gems included by the bundle: | |
* Ascii85 (1.0.2) | |
* actionmailer (3.2.8) | |
* actionpack (3.2.8) | |
* active_utils (1.0.5) | |
* activemerchant (1.28.0) | |
* activemodel (3.2.8) | |
* activerecord (3.2.8) | |
* activeresource (3.2.8) | |
* activesupport (3.2.8) |
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
# == Schema Info | |
# | |
# Table name: comments | |
# | |
# id :integer | |
# author :string | |
# email :string | |
# comment :text | |
# post_id :integer | |
# created_at :datetime |