Profile

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

Stream

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...

Dillon Welch

Shared publicly  - 
 
How to test if you've properly loaded Devise modules in your Rails models.
1
Add a comment...

Dillon Welch

Shared publicly  - 
 
Initial blog post.
1
Add a comment...
 
How to Validate Regular Expressions in Ruby on Rails Models
ActiveRecord has many awesome validators for common things like presence, numericality, etc. Unfortunately, it is missing one common format - regex, or regular expressions. These are normally saved as string fields and, if not validated, can lead to page er...
1
Add a comment...
Have him in circles
57 people
Matthew Vaughn's profile photo
Hannah Howe's profile photo
Debora Loftin's profile photo
Andrew Duryea's profile photo
Jeremy Crook's profile photo
Leon Solis III's profile photo
Anthony Moreland's profile photo
Erik Woodard's profile photo
Nikki Hennigan's profile photo

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...

Dillon Welch

Shared publicly  - 
 
How to test controllers that are located within a Rails engine.
1
Add a comment...

Dillon Welch

Shared publicly  - 
 
How to use rake tasks like db:migrate in a Ruby project that does not use Rails.
1
Add a comment...

Dillon Welch

Shared publicly  - 
 
Using save_and_open_page with Cucumber
Capybara has a nice utility method called save_and_open_page that will save the current page's HTML as a temp file and open it in your browser. This method is available by default in Ruby code (for example in an RSpec feature spec). As Cucumber is not direc...
1
Add a comment...

Dillon Welch

Shared publicly  - 
 
undefined method `fa_icon` for #<#Class:...
If you're trying to use the  Font-Awesome  gem in your Rails engine, you may run into this "undefined method `fa_icon for #<#Class:.." error. Fortunately, there is a pretty simple fix. Add include FontAwesome::Rails::IconHelper to engine_name/app/helpers/en...
1
Add a comment...
People
Have him in circles
57 people
Matthew Vaughn's profile photo
Hannah Howe's profile photo
Debora Loftin's profile photo
Andrew Duryea's profile photo
Jeremy Crook's profile photo
Leon Solis III's profile photo
Anthony Moreland's profile photo
Erik Woodard's profile photo
Nikki Hennigan'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 - 5 months ago
reviewed 5 months ago
1 review
Map
Map
Map