Meaning of “Expected string default value for …”
It is odd, but least its sorted and i can now build projects again. Hopefully this will help someone else who faces the issue cause there wasnt much out there. Trust me to run into the issue hahaAlan Reid replied • Solved
Jekyll, MiddleMan or CMS for a blog site?
For your guest post i would simply use the front matter. The following example is from a post off my site. ``` --- layout: default title: Setting up Rails and Jekyll (Part 1...Alan Reid replied • Solved
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
Should I use a gem like paperclip or carrierwave to handle PDF and docx uploads?
Dont forget the Shrie videos Chris made, i found them really handy. And i would go with this over CarrierWave now personally. First one is here https://gorails.com/episodes/file-uploading-with-s...Alan Reid replied • Solved
DRY Validations for Similar Models
In addition, here is the code I used for the solution Chris suggested, for anyone interested. ``` # /models/concerns/location_validations.rb module LocationValidations extend ActiveSupport:...Sillico replied • Solved
User Badges Features
It would be great to see an episode. And the Draper gem makes that easyDmitry Amelchenko replied • Solved
A `has_one :through` association issue
Thanks again, Jacob. Makes way more sense to go about data/models/associations that way. I always went for the more "visual" way to make it easier to grasp. ✔️eelcoj replied • Solved
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
Ruby version stuck on macOS
Weird, rbenv _should_ be in your path.Chris Oliver replied • Solved
Getting an simple Ajax request on Rails
Solved the issue - The problem was 4 fold: Turbolinks, my controller file for forum_threads, index.json.jbuilder, and my coffescript file. Hope it helps someone else learning. I have provided the a...Omar Khedr replied • Solved
Devise User Follow System
Michael Hartl does a video Tutorial via the Learn Enough site, you need to subscribe though. It's good but its everything thats in the book.Alan Reid replied • Solved
Hey John, thanks for chiming in on this thread. You're right, I wasn't targeting the selected object. Doing `$('select#location_id :selected').data('modifier');` gave me an output of the modifer ...shakycode replied • Solved
Having different rails and gems versions installed on dev environment ?
Nah, no reason to use gemsets anymore because Bundler does everything they do, but in a better fashion. Because your Gemfile is included inside your repository, you always know which gems and which...Chris Oliver replied • Solved
Set a start date for Chartkick / Highcharts combination
Perfect. Yeah the groupdate gem is handy for that stuff. You can write it yourself, but it's pretty annoying to remember it all. Works super nice with Chartkick.Chris Oliver replied • Solved
error while setting up ruby on rails
solved using https://discussions.apple.com/message/12602272#12602272oliver replied • Solved
How do I display a list of Favorited Posts from forum on the User Profile page?
Hey Erik, Yeah it seems as though it's not accounting for the post favorites for the user after checking rails console so I think I found my main issue in the `favorites_controller`. I need ...Rob Sturcke replied • Solved
Update and validate multiple entries
Hmm, this I'm not sure of. Someone with more knowledge of transactions and/or validations may have a solution if it's even possible... From my understanding, a transaction gets rolled back as so...Jacob Montgomery replied • Solved