How do i print out validation error?
Using Rails 5. This is what i had to do to solve my issue. I changed my forum_thread model and added `:inverse_of => :forum_thread` on the `has_many :forum_posts` ``` class ForumThread <...Matt Taylor replied • Solved
[Feature Request] Ask for Topic/Episodes/Series
Oh! I see it now on the footer. Thank you!Jorge Dominguez replied • Solved
How is routing done with a conditional in url?
Thanks guys.. This clears it up for me!!Matt Taylor replied • Solved
How do I check if runner.interest is not null in this interpolation?
Yep, you're correct! That is called the [ternary operator](https://en.wikipedia.org/wiki/Ternary_operation) Just be aware that short code is not an absolute goal - clarity is **always** better t...Jacob Montgomery replied • Solved
Thanks for the help Szilard and Jacob! I was having a hard time understanding exsactly what was going on with database and structure. Chris's series on building a forum really helped. Undestanding ...Lauro replied • Solved
How to make form fields to display placeholder text?
haha no problems mate ill see if i can get a sample togeher using your screens to try show what i mean.Alan Reid replied • Solved
How Do i add an "Are You Sure?" button in my update controller
thanks chris!Neil Patel replied • Solved
Can I assign dates to display a link?
As far as I understand situation, you don't need background jobs here. To display something on a web page within certain date interval, you just need to add this condition to your view: ``` erb ...Alex Musayev replied • Solved
Does anyone have tips on setting up redis and sidekiq on a Digital Ocean ubuntu 16.04 droplet?
Hi I added a file at /etc/systemd/system/sidekiq.service ``` [Unit] Description=sidekiq After=syslog.target network.target [Service] Type=simple WorkingDirectory=/home/deploy/ezlarm-serv...Muhammad Faisal Iqbal replied • Solved
How do I send Prawn pdf via email
Just like you would do with sending any other email. You can read more on the guides page: http://guides.rubyonrails.org/action_mailer_basics.htmlChris Oliver replied • Solved
connection.rb in actioncable chatroom series, if not using Devise for authentication?
The next thing I'm trying to figure out is how to use token based authentication. Cookies and sessions isn't 100% safe and cross-domain happy (safari), so token based authentication may be real...Masud Hossain replied • Solved
Stripe gems: Koudoku or Payola
Yeah I think a lot of people do the same thing with Devise, however, it's got a great design so you can dive into the guts of it and make changes really easily. It also doesn't enforce much of anyt...Chris Oliver replied • Solved
`task.project.id` and `task.project.project_title` did the trick Jack, thanks!Adrian DeGus replied • Solved
Best practices for manipulation/working with data from model after creation
Thanks both Chris and Jacob. Really helpful. 🙌 I got some viewing and reading to do.eelcoj replied • Solved
Deployment to EBS - Helo debugging ERROR: CMake is required to build Rugged.
Sweet, I'm glad that really was the issue! I've done that countless times, imagemagick gets me everytime!!Jacob Montgomery replied • Solved
I think I got it. Bad Database.yml indentation. Also there was on an issue on the ruby version.Jorge Dominguez replied • Solved
Add paywall functionality to app
You're welcome! Good luck! :)John Sanchez replied • Solved
Are there any reasons why my Helper methods are not picked up?
I believe mailers by default don't include helpers. This is by design I think, but it does seem like one of those things that would be included automatically. You can add `helper` lines to your ...Chris Oliver replied • Solved