David Kimura PRO
Joined 7/18/2015
Drifting Ruby Owner
Ruby Rogues Panelist
David Kimura PRO said over 5 years ago on Template for creating an application :
Great idea! Have you seen https://github.com/RailsApps/rails-composer from [Daniel Kehoe](https://twitter.com/rails_apps?lang=en)

David Kimura PRO said over 5 years ago on Deploying to AWS Elastic Beanstalk :
When you ssh into the EC2 instance, try doing this to get the database created. ``` sudo su bundle exec rails db:create exit ``` I believe they've changed the permissions of the ec2 user and you cannot login as the www user.

David Kimura PRO said over 5 years ago on Service Objects for API Interactions with Twilio :
I think that it depends on the goals of the service object. If it were only internal interactions then this would make sense. However, if the issue was an error with an external api that you've wrapped your service object around, I would probably prefer this method.

David Kimura PRO said over 5 years ago on Templating Ruby on Rails Applications :
That is indeed very strange! I just reprovisioned my development environment this morning and tested this with the latest Rails and devise. It is happening to me too! I'm guessing that when the generator is being ran, it is injecting the RAILS_ENV as an attribute and devise is picking it up somehow... Really weird!

David Kimura PRO said over 5 years ago on Templating Ruby on Rails Applications :
Using this works without adding in the weird ENV ``` gem 'devise' run 'bundle install' generate(:scaffold, 'user', 'name') generate('devise:install') generate('devise','User') ```