Implemetation of /leaderbaord in the project
I want to implement the /leaderboard as in the website in my project can someone pls. suggest how to do so by giving links to documentation and tutorials Thank You : )
Dhairya Majmudar postedI want to implement the /leaderboard as in the website in my project can someone pls. suggest how to do so by giving links to documentation and tutorials Thank You : )
Dhairya Majmudar postedYou solved my problem also, thank you so much.
DanteKulas repliedHey, do you know if you can upload to a folder structure within an s3 bucket? I'm planning on having users (who have UUID's) to have direct uploads behind the scenes to UUID/filename (virtual folde...
Aaron repliedI'm seeking assistance on testing JavaScript that executes on the response page after a POST request. So I have something like this ```ruby class YourControllerTest < ActionDispatch::Integrati...
Jesper postedHi Chris, I tried -> RUBY_YJIT_ENABLE=1 ruby -v but I can't see the YJIT. Do I need to install it separately? I am using Mac M2 MacBookPro.
Eric Chua repliedRestart the terminal and run rbenv It should list a few commands.
Bernice Cherry repliedThat will break the Connect Twitter button so you would also need to replace it with (as Alex Lutz noticed earlier): <%= button_to "Connect Twitter", "/auth/twitter", method: :post, data: { turb...
Patryk repliedI am using windows I cannot run the chmod command so it always shows permission denied when deploying to render
Emmaotiki5 repliedThanks Greg! You are prob right, I did spend 30mins trying to get to Ruby 3+ and Rails 7 but for some reason couldnt get to Ruby 3. Will try those commands next :)
Ryan Mindigo repliedI can get all 3 of these repos working, but for some reason I can't get any of them to work with Active Storage and file uploads. After I- 1. Add a File Field to _tasks.html.erb 2. Add has...
Mark repliedIn the signin_params method, you need to use contacts_attributes instead of contacts. Here's the corrected code: private def signin_params params.require(:signin).permit(contacts_attributes: [:n...
LucyHills replied • Solvedkeep it
MitchellThompson repliedThis feels much simpler for custom value objects and surprisingly more straightforward than the official way, i.e. registering a new Active Model type. Great video, thank you.
Adrián Mugnolo repliedFor controller & integration tests, you'll make a POST request to log the user in: ```ruby class ActiveSupport::TestCase def login(user, password: "password") post login_path, params: { ...
Chris Oliver replied