Proper location for null objects
Alex,
I'm chiming in with some practical experience, having written several medium-size applications with 50+ models.
http://blog.makandra.com/2014/12/organizing-large-rails-projects-with-namespa...
Dan LeGrand
replied
•
Solved
3
Ruby
How can I subscribe a user when creating a new project?
Wow! Thanks for taking the time to answer. Always so helpful Chris! :grinning:
Lauro
replied
•
Solved
9
Ruby
Retrieve all Project Threads where a given users has posted a Project Post
You need another table that handles assignments to threads.
```ruby
# project_thread_access model
# you'll need user_id and project_thread_id columns in this model
belongs_to :project_thread_acces...
Jacob Montgomery
replied
•
Solved
4
Ruby
How do I iterate over an array of nested hashes in a view?
Haha, making it harder is the easy part - making it easy is the hard part :)
Anytime!
Jacob Montgomery
replied
•
Solved
8
Ruby
Install Ruby from binaries on production: do or do not?
Cool! I think I'll use this approach in my Ansible playbook for provisioning app server instances. And the "long path" with ruby-build/ruby-install will be there as a fallback option, in case pre-b...
Alex Musayev
replied
•
Solved
4
Ruby
Ruby version stuck on macOS
Weird, rbenv _should_ be in your path.
Chris Oliver
replied
•
Solved
5
Ruby
CSV Import
You'll actually want to just make sure it matches the column name I think. You can print out the row hash to the console to see exactly what you'll need for that.
Chris Oliver
replied
4
Ruby
How to build a web scraper using Ruby...
Love that idea. I've used Mechanize in the past for something like this. It's pretty fun to do and would make for a great episode.
Chris Oliver
replied
2
Ruby