Skip to content

Instantly share code, notes, and snippets.

View keppy's full-sized avatar
🥧
Pie is delicious

James Dominguez keppy

🥧
Pie is delicious
View GitHub Profile

james_dominguez

Keybase proof

I hereby claim:

To claim this, I am signing this object:

@keppy
keppy / application_controller.rb
Created September 27, 2012 06:51
required parameter missing: user
class ApplicationController < ActionController::Base
protect_from_forgery
## filter_parameter_logging :password, :password_confirmation
helper_method :current_user_session, :current_user, :permitted_params
...
def permitted_params
@permitted_params || PermittedParams.new(params, current_user)
end
end
{
"error":null,
"response": {
"_links": {
"funding-source": {
"href": "https://api-uat.dwolla.com/funding-sources/746d5c93-acb9-4826-a9c1-78ecf16401a6"}}}}

Keybase proof

I hereby claim:

  • I am keppy on github.
  • I am keppy (https://keybase.io/keppy) on keybase.
  • I have a public key ASDX8cPiINVeEioP1gK_gdHBndxn4O_fY-gxwyxHoJMP6Ao

To claim this, I am signing this object:

class Test
def hello
end
end
Test.method_defined? :hello
# Returns true
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
domains: ['wow', 'mom'],
domainsList: Ember.computed('domains', function() {
var domains = this.get('domains').join(', ');
return domains;
})
2014-01-23T14:39:04.244709+00:00 app[web.1]: Started GET "/profile/payment/new" for 67.183.209.26 at 2014-01-23 14:39:04 +0000
2014-01-23T14:39:04.248854+00:00 app[web.1]: Processing by PaymentController#new as HTML
2014-01-23T14:39:04.249072+00:00 app[web.1]: Processing by PaymentController#new as HTML
2014-01-23T14:39:04.272741+00:00 app[web.1]: Rendered profile/_subnav.html.haml (4.6ms)
2014-01-23T14:39:04.272741+00:00 app[web.1]: Rendered profile/_subnav.html.haml (4.6ms)
2014-01-23T14:39:04.275307+00:00 app[web.1]: Rendered payment/_cost_table.html.haml (2.1ms)
2014-01-23T14:39:04.275307+00:00 app[web.1]: Rendered payment/_cost_table.html.haml (2.1ms)
2014-01-23T14:39:04.275380+00:00 app[web.1]: Rendered payment/_summary.html.haml (2.5ms)
2014-01-23T14:39:04.275380+00:00 app[web.1]: Rendered payment/_summary.html.haml (2.5ms)
2014-01-23T14:39:04.275477+00:00 app[web.1]: Rendered payment/new.html.haml within layouts/application (7.7ms)
@keppy
keppy / gist:5665114
Created May 28, 2013 18:47
Channel Page Template
---
pageMetadata:
pageTitle:
header:
breadcrumbs:
title:
slats:
# Rotator
-
moduleType: rotator-slat
@keppy
keppy / _client_reservations.html.erb
Created September 3, 2012 20:14
Ajax call not displaying dynamic content--@invoice_reservations--the partial is rendered though.
<table class="table table-bordered table-striped">
<%= @invoice_reservations.each do |r| %>
<tr>
<td><%= r.name %></td>
</tr>
</table>