Whats the best way to allow embedded content from another site
Hey Daniel,
There's a concept called OEmbed that was designed to let services define their own embed codes. You just give their site the URL you want to embed and then send you JSON back on how to...

2
Rails
Multiple user types App design
You can use a gem like cancancan to manage what your different user types can see and do

4
Rails
Is there anyone who could offer advice or help with Generating a PDF Within the Program?
Most of the students can easily get the PDF conversion of the content in textual format which will help the students to get writing advice. I have tried to follow the https://medium.com/@jjbondik/h...

5
Rails
How do I use phonelib gem for a nested resource?
I am setting up telephone validation for a Lead model. Leads have a field called :phone. I'm using phonelib to validate the contents of that field. My New Lead form is nested within a second model,...

1
Rails
Best way to approach these 2?
Forgot to mention, I'm using clearance not devise. The answer to the second question seems to be no, but clearance does provide a method for doing exactly what I was attempting. So, part two solved!

2
Rails
F.submit not creating object
Hey Samantha,
Can we see the rest of your form?
You may have a nested form (as in a form within a form) or your f.submit is outside of the actual form_for block

2
Rails
How do i run sneaker worker in rails 6.0 ,ruby '2.6.3' ?
Just add to Rakefile the following command
require 'sneakers/tasks'

3
Rails
How to upgrade rails 5.2 to 6.0
I'm trying to upgrade rails but stuck on
"bundle update rails"
I'm following this article https://fullstackheroes.com/rails/upgrade-to-rails-6/

1
Rails
Ranking system on Ruby on Rails
You need to provide a bit more information Yasen. What do you need help with? Design the Domain models? Tools/Gems to use?

2
Rails
Digital Ocean Spaces does not respect ACL Public-Read (Active Storage)
I guess Digital Ocean uses Minio (https://min.io) and this issue is caused by some S3 API incompatibility. Unfortunately I needed to use AWS S3 as I dont like the monkey patch way.

3
Rails
Debugging need help
What u mean. https://techymax.com/flip-diving-mod-apk/

5
Rails
How can I validate from a gem that doesn't have the proper validation calls in the model?
Hello Folks,
I want to do validation for my mail functionality on my web page. I want to require that a recipient has been entered as well as a subject and body when a new mail is written.
Th...

1
Rails
syntax error, unexpected tREGEXP_BEG, expecting end-of-input
I'm trying to run a script but facing the error, I'm pretty new to the rails console.
```RAILS_ENV= qubole rails runner db/scripts/migrate_bulk_users_to_new_emails.rb /usr/lib/tapp2/db/scripts/...

1
Rails
How do i write a test case using rspec for private method
All the resources that you mention, but the proper "theoretical" https://testmyspeed.onl/ way to do it would be to test that @client receives add_message_callback, and then indirectly test your pri...

2
Rails
ActionText and Globalize error
I am seeing this error, too. I am trying to use a form object. This only occurs when the form object fails to save and the form must be redrawn. I am guessing it has to do with `new_record?`

7
Rails