Transitioning from JAVA to Ruby On Rails. How do I go about it
[delegated_type] How to query a collection of entries including the (entryable) sub-entries.
I need to query a collection of entries based on a range of dates and then sum an attribute of the sub-entry using the delegated_type method. Something like this: ``` Entry.where(performed_at: Da...
William Cunningham postedHow to use Bootstrap with CSS bundling in Rails Discussion
I have replace the webpacker with esbuild in my rails 7 project, js files are compiling but not working, and not getting any error.
Almas Asghar repliedHow do i log user out from subdomain using devise
hi guys i am trying to build a blog platform like hashnode/substack where user register on root domain and create blog. I am currently using devise and i have set up subdomain routing. My question ...
Henry postedRails for Beginners Part 25: Twitter Account Model Discussion
If you want to get it fixed, you may modify omniauth_callbacks_controller.rb and check if Current.user has any twitter accounts associated. If not, you have to create an entry in TwitterAccount tab...
Andrii Mishchenko repliedWhat is the cost of iOS app development?
Cross platform (iOS/Android)? Need push notifications? Obviously you need login so you’ll need the backend setup too. Payment processing. What other functionality? What do users need to do? Depends...
Urban Luis repliedRails credentials returning nil
I had the exact same issue as Nino. For me the reason was that I accidentally created global credentials instead of specifically for the development environment. So I had a master.key file generate...
Valeriia Chavdar repliedEdit user profile with devise if user signed up with facebook omniauth
Updating a user profile when they signed up with Facebook omniauth and don't have a traditional password can be a bit tricky. To enable users to update their passwords, you can consider adding a se...
Ubuntus repliedPrimer on Rails 5.1's new UJS library Discussion
hello!
WilliamCass repliedHow to extract from MS Word or Google Docs
Extracting content from Microsoft Word or Google Docs while retaining rich text formatting can be a useful feature. If you're looking to work with rich text, you might find some inspiration in Goog...
MatthewHicks replied'Uncaught ReferenceError: Rails is not defined' even after importing it in application.js file
hello, i am really new to Rails. I wanted to make ajax call to a function in controller. I have following in my view: ``` function fetchMessages() { // Get user input from text field let inpu...
anujmohatkar postedBuilding A Hosting Platform in Ruby Discussion
Multi-step forms, without a gem?
Hi, i am also looking for similar multistep form. hotwire lesson on this topic would be amazing
Fatih repliedCanCanCan, Pagy, and MeiliSearch, How to combine the 3 gems?
thank you for sharing.
mariakennet repliedUnused Rails Routes Command Discussion
Realtime Online User Tracking with ActionCable Discussion
I just implemented this and deployed it to Heroku using redistogo Nano version but I got this error: 2021-11-10T19:33:50.348851+00:00 app[web.1]: [d6a31038-f4b6-4b27-9dc3-f0db27dfd0f8] Redis::Comm...
Oscar Luza repliedThe Unusual Error when rendering the main page at start
Hi, I am having this unusual error where I have created the view, models, and controllers for a page with home and about views. I have also set the routes to point to the pages#home, but the view ...
Asim Mehmood Khan postedSQL Learning Path - Creating and Dropping Tables Discussion
One fun tip; You can have multiple statements in the Query editor and hi-light the statement that you want to run and it will only run that statement. For example, you could have both statements i...
Eric Halverson posted