Profile

Cover photo
Dillon Welch
Works at Q-Centrix
Attended Louisiana Tech University
Lives in San Diego
57 followers|4,897 views
AboutPostsPhotosYouTubeReviews

Stream

Dillon Welch

Shared publicly  - 
 
How to Link a Git Folder with an Existing Heroku App
Follow  this guide  to get Heroku setup on your command line tool of choice. heroku git:remote -a project_name where project name is the name of your Heroku app (if your app's URL is stellablog.herokuapp.com , project_name would be stellablog) and you're do...
1
Add a comment...

Dillon Welch

Shared publicly  - 
 
How to use respond_to? with private methods
respond_to? is an awesome method for testing if an object has a given method. By default, it will return false for methods that are private. If you want to test if an object has a method regardless of its private status, you can just pass true after the met...
1
Add a comment...

Dillon Welch

Shared publicly  - 
 
How to specify a local gem in your Gemfile
If you're developing a gem and you want to test it out locally in another project, this is easily accomplished by specifying the path to the local gem in your Gemfile: gem 'bears', path: '/path/to/bears/gem' and boom, it's there. One bundle install later an...
1
Add a comment...

Dillon Welch

Shared publicly  - 
 
Capybara::Poltergeist::TimeoutError
Timed out waiting for response to {"name":"visit","args":[" http://127.0.0.1:54242/ "]}.
It's possible that this happened because something
took a very long time (for example a page load was slow).
If so, setting the Poltergeist :timeout
option to a high...
1
Add a comment...

Dillon Welch

Shared publicly  - 
 
undefined method `capture_haml' for RSpec
If you're using Haml in a Rails project, testing with RSpec, you might encounter the "undefined method 'capture_haml' for ..." error while trying to run your specs. I encountered this error in a view spec when trying to use Simple Form along with Haml. Fort...
1
Add a comment...

Dillon Welch

Shared publicly  - 
 
How to properly update a Rails model with a non-default primary key.
1
Add a comment...
Have him in circles
57 people
Ryara Lannister's profile photo
Christian Mays's profile photo
Anthony Moreland's profile photo
Melissa Dutel's profile photo
Evan Spencer's profile photo
Sydney Mayeux's profile photo
Cindy Richard's profile photo
Brooks Jowett's profile photo
Stacie Poore's profile photo

Dillon Welch

Shared publicly  - 
 
How to Push a Local Branch to a Separate Remote Branch
This is my first post about Git! I'll be talking about how to push the contents of a local branch to a remote branch that is different from what it currently points to. The base syntax is git push remote local_branch:remote_branch An example of when to use ...
1
Add a comment...

Dillon Welch

Shared publicly  - 
 
How to Load Dependencies in a Rails Engine
In a Rails project, generally all you have to do is add a gem to your Gemfile and the dependencies will automagically get taken care of. Unfortunately, for Rails Engines this is not the case. You will have to take the additional step of requiring the gem's ...
1
Add a comment...

Dillon Welch

Shared publicly  - 
 
Removing extra whitespace from Haml
Most of the time, Haml is pretty awesome. One of the cases where it's not so awesome is around multiline mixed Ruby/HTML. For example, when trying to create a timer on the screen: Because of reasons, Haml decides to add extra whitespace around each of the s...
1
Add a comment...

Dillon Welch

Shared publicly  - 
 
Using local assets with save_and_open_page
Previously I talked about how to use save_and_open_page with Cucumber. Unfortunately, when you do this it renders an unstyled page. If you add Capybara.asset_host = 'http://localhost:3000' to your spec_helper.rb or Capybara config file, save_and_open_page w...
1
Add a comment...

Dillon Welch

Shared publicly  - 
 
The correct Capybara syntax to test an input field with multiple attributes.
1
Add a comment...

Dillon Welch

Shared publicly  - 
 
How to create a Rails model with a non-default primary key.
1
Add a comment...
People
Have him in circles
57 people
Ryara Lannister's profile photo
Christian Mays's profile photo
Anthony Moreland's profile photo
Melissa Dutel's profile photo
Evan Spencer's profile photo
Sydney Mayeux's profile photo
Cindy Richard's profile photo
Brooks Jowett's profile photo
Stacie Poore's profile photo
Work
Occupation
Software Engineer
Skills
Ruby on Rails, Ruby, Programming, PHP, Mathematics, C, C++, iOS
Employment
  • Q-Centrix
    Software Engineer, 2015 - present
  • Wayfair
    Software Engineer, 2013 - 2014
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
San Diego
Previously
Ruston - Mission Viejo - Costa Mesa - Mandeville - Boston
Links
Contributor to
Story
Introduction
If you hold a Unix shell to your ear, can you hear the C?
Education
  • Louisiana Tech University
    Computer Science/Math, 2009 - 2013
Basic Information
Gender
Male
This particular location, as well as the furniture, is pretty great. The furniture on display is pretty decent quality, and the employees are very friendly and helpful. One of their employees worked with me through the entire process to make sure I got everything I needed, even giving me a $10 discount when I remembered an item he forgot to add during checkout. I bought a new mattress and a dining room set and was very impressed with both items. Unfortunately, their customer service after you've purchased their furniture is not that great. When my first delivery came, they brought Eastern King box springs for my California King mattress. They were scheduled to bring the correct ones the next day, but never came. When I called about it, they all of the sudden had a wildly different phone number for me even though they called me on the correct number on the first visit. I had to schedule a third delivery attempt before I finally got everything straight. A few days later, one of the dining room chairs made a huge creaking noise like something inside broke. I called again to see about getting it fixed, and was told that a new part was ordered and would arrive within 1-2 business days to be fixed. From this, I assumed that someone would come to my location and fix the chair. I also figured that I would receive a phone call when it came in. Unfortunately, my assumption was incorrect. When I called again days later, I found out that I had to take the chair all the way to their Chula Vista warehouse location (a 20+ minute drive). When I did that, the one guy in the whole place who could fix it was mysteriously gone and would fix it sometime later, meaning I would have to come back another day. Again, I was told that I would receive a call and never received one. Fortunately, when I called back 2 days later it was ready and I picked it up. In summary, the salespeople are decent and friendly, the products are of decent quality, but be prepared for frustration if something goes wrong.
• • •
Public - 6 months ago
reviewed 6 months ago
1 review
Map
Map
Map