Skip to content

Instantly share code, notes, and snippets.

View seanmarcia's full-sized avatar
🐼
Happily living the dream.

Sean Marcia seanmarcia

🐼
Happily living the dream.
View GitHub Profile
Started GET "/supervisors/106/edit" for ::1 at 2020-08-14 15:39:44 -0400
Processing by SupervisorsController#edit as HTML
Parameters: {"id"=>"106"}
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2 [["id", 110], ["LIMIT", 1]]
CasaOrg Load (0.2ms) SELECT "casa_orgs".* FROM "casa_orgs" WHERE "casa_orgs"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]]
↳ app/controllers/supervisors_controller.rb:50:in `available_volunteers'
Supervisor Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."type" = $1 AND "users"."id" = $2 LIMIT $3 [["type", "Supervisor"], ["id", 106], ["LIMIT", 1]]
↳ app/controllers/supervisors_controller.rb:27:in `edit'
Rendering layouts/application.html.erb
Rendering supervisors/edit.html.erb within layouts/application
Started GET "/supervisors/106/edit" for ::1 at 2020-08-14 01:26:48 -0400
Processing by SupervisorsController#edit as HTML
Parameters: {"id"=>"106"}
User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2 [["id", 110], ["LIMIT", 1]]
CasaOrg Load (0.3ms) SELECT "casa_orgs".* FROM "casa_orgs" WHERE "casa_orgs"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]]
↳ app/controllers/supervisors_controller.rb:50:in `available_volunteers'
Volunteer Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."type" = $1 AND "users"."casa_org_id" = $2 AND "users"."active" = $3 [["type", "Volunteer"], ["casa_org_id", 1], ["active", true]]
↳ app/models/user.rb:22:in `reject'
SupervisorVolunteer Load (0.3ms) SELECT "supervisor_volunteers".* FROM "supervisor_volunteers" WHERE "supervisor_volunteers"."volunteer_id" = $1 LIMIT $2 [["volunteer_id", 1], ["LIMIT", 1]]
↳ app/models/user.rb:22:in `block in volunteers_with_no_supervisor'
@seanmarcia
seanmarcia / tools_tips.md
Created September 30, 2017 19:41
Collection of Powertools, Tips and Tricks discussed at Retrocession.

Powertools, Tips, and Tricks Notes:

User experience monitoring tools:

  • Fullstory - JS you drop on your page that records user session.
    • Integrates with other services (like bugsnag) so, for example, when you see an error appear in bugsnag you can go and watch to see how the user created that error.
    • Is an external service that you need to log in to to view user sessions/videos/etc.
  • Ahoy - User metrics on which parts of your app they are interacting with.
    • You have full control of the data it records -- you can send it to your database, kinesis, etc.
  • Heroku sends data through a proxy (if you are worried about adblockers preventing you from getting user metrics) and then feeds the info into segment.io
@seanmarcia
seanmarcia / travis.md
Last active June 12, 2017 14:02
Deploy from Travis to a vps with Capistrano

Setup

On a development machine, install the Travis CLI gem and login.

$ gem install travis
$ travis login

Create a ssh key on your development machine.

@seanmarcia
seanmarcia / guille.md
Last active March 26, 2017 18:42
Feedback

Managing Containers (The Real Kind) with Rails

Abstract

Did you know that 90% of everything around us has traveled via a shipping container? Two years ago I didn't. Find out how two friends who knew nothing about the shipping industry were able to build and scale a system that tracks 85% of all containers that enter Haiti.

Description

This is the story of how two developers who knew nothing about the shipping industry built a system that now manages 85% of all containers that enter the country of Haiti. Having to build a system for an industry which you know nothing about is already a challenge. Having to build it fast is even a bigger challenge.

Do you like ruby? Do you like doing good? Do you like hanging out with other rubyists?
If you answered yes to all three of these questions you need to come out to Ruby for Good (rubyforgood.com), a 3-day all inclusive conference in the DC area being held July 31st through August 2nd.
What will we be doing?
We are going to be lending our hacking skills for "good" projects - places that need help but don't have the resources to pay for people with our skill set. Some of the organizatinos we've signed on to help this year are the Humane Society (we love fluffies), Growhaus (a non profit that supplies healthy food to low income families), Purple Door Coffee (an organization that provides jobs to homeless kids and teaches them real skills) and many others. to We are still accepting project suggestions, so if you volunteer for a local non-profit and see a need, please let us know.
Is it all work?
No! The evenings are going to be filled with fun, games and socializing. We'll definitely have a game (or two) of Art

Capybara

save_and_open_page

Matchers

have_button(locator)

->THIS TEXT IS IN THE CENTER!

Keybase proof

I hereby claim:

  • I am seanmarcia on github.
  • I am seanmarcia (https://keybase.io/seanmarcia) on keybase.
  • I have a public key whose fingerprint is 663D 5F3A A287 951F 0624 10A7 123C 6BBC 5A1C 07BC

To claim this, I am signing this object: