Very strange Rails app behaviour
Problem located, and resolved. The problem seems to have been 2 fold....first off, I didn't have a users controller....creating an empty one fixed the login/logout/signup behavior. Now I can e...John replied • Solved
Share resources among controllers?
Have you perhaps created a project thread on the GitHub or https://www.domyhomework4me.onl? It's better to make suggestions when you see clearly what's required as the explanation is bit confusing...eric epstein replied • Solved
undefined method `minimum' for #<Store:0x00007fb25c749b20>
It works! I had to add a form_for block in the view and pass the pricingclassification object. range#change" } %>Samantha O replied • Solved
How do I add ranges to my application?
Not off the top of my head, but I can make a screencast on it. 👍Chris Oliver replied • Solved
Mysql2::Error::ConnectionError: Access denied for user 'root'@'localhost' (using password: NO)
Try this on your database.yml: default: &default adapter: mysql2 username: root password: socket: /tmp/mysql.sock Mysql usually come with auth_socket as default authentication plugin,...Elvis Serrão replied • Solved
Best Rails error monitoring software ?
I think Sentry (https://sentry.io) is the best tool you can use It enables asynchronous reporting so errors are logged quickly in a background job. It filters and groups Rails exceptions intuitiv...BoTree Technologies replied • Solved
How do I create an attendance form for student attendance?
Excellent shareSang15512 replied • Solved
Do I need the jumpstart gem embedded in my application?
You need to keep it. It manages the configuration. 👍Chris Oliver replied • Solved
Would you like to use Rails to improve someone's mental health?
Thank you all so much for the permission to post. We received two highly qualified developers who have chosen to volunteer their time to this project! Very excited for the progress we'll get to mak...natehilpert replied • Solved
How do I create a duplicate with associations included?
hi, it's really helpful. i also have a case like this, its a quotation and invoice. does the steps, also copy the association or just the id and refer it to the tasks from previous project? thanks.msalsabil replied • Solved
Is there a way to validate image uploads to validate dimensions?
If you are using ActiveStorage, check out this gem : https://github.com/igorkasyanchuk/active_storage_validations You can use square aspect validation on this gem : `validates :avatar, aspect_rati...Axel Kee replied • Solved
Active-storage creating/uploading folder
I would say, don't think of it as folders on S3 or the file server. Use database records to group and organize them in your app. They don't have to exactly mirror the files on disk.Chris Oliver replied • Solved
How do I build a multi step wizard in ruby with StimulusJS
here we go - https://github.com/excid3/tailwindcss-stimulus-componentsTim Dowling replied • Solved
Root route bypassing before_action
we have a posts_controller which takes a slug to render the correct page. posts_controller inherits from application_controller which has a couple of before_actions routes.rb has the following ...Peter vande Put posted • Solved
"NoMethodError: undefined method `deep_symbolize_keys'" when trying to deploy my application
David McDonald replied • Solved
What's a good way for upgrading a server?
And glad it's been so helpful! This is the community I wish I had a long time ago, so that's great to hear!Chris Oliver replied • Solved
User model guidance
Hey Stephen! The way I do it in JumpstartRails.com is we have a single User everyone logs in as and they have multiple Accounts they're associated with. Each account could have a type of Coach, ...Chris Oliver replied • Solved