Routing for Admin area not working
Amazing! Thank yous very much! All working now... Initially It was only Creatint but not saving but I just removed the `method: :post`Nelson replied • Solved
How to do a incremental backup
I was using postgres database. Changed wal_level to replica, & turned on archive_mode. Then it started generating wal files, which I used to restore to point in time recovery.Nithil replied • Solved
How do I create a parent record from the child when the parent doesn't exist?
I mananged to solve this. Here's what I did for anyone that comes across this in the future. Note in the `new` action I have `@note.build_chapter` rather than `@note.chapter.build` ``` class Bo...Nino Rosella replied • Solved
How do I improve these relationships (Rails Association question) ?
Your `Bet` model would have two `belongs_to` associations (one for the creator and one for the backer or however you'd like to call them): ``` class Bet < ApplicationRecord belongs_to :cr...Nicholas Bayley replied • Solved
Manipulate photos already on S3 or Spaces
Jesper, thanks for the info.Ryan Carter replied • Solved
Command 'rails' not found but it used to work perfectly...
Ok so the best thing to do may be to remove any trace of rbenv ..? In the end the main problem was just because I used an other Terminal version (Terminator in place of the classic one) but anyw...Damian Nelwep replied • Solved
NameError (undefined local variable or method `fetch_records' for ....
Hey Chris, I found the solution. https://github.com/jbox-web/ajax-datatables-rails/blob/master/doc/migrate.md I used the old methods... Thanks for your help! and support!Victor Nizeyimana replied • Solved
NoMethodError (undefined method `def_delegators' for ChatroomsDatatable:Class):
It is working now. Ough, next error 💩; Completed 500 Internal Server Error in 14754ms (ActiveRecord: 17.1ms) NameError (undefined local variable or method `fetch_records' for #):Victor Nizeyimana replied • Solved
Rails Button_tag not submitting edit form, but submits new form
fingers crossed they dont mess too much, could be a decent browser. I wish Google would reduce the resources used though, still a beast of a browser.Alan Reid replied • Solved
ActionController::RoutingError (No route matches [GET] "/assets/images/4.jpg"):
If you put the images in your `app/assets/images` directory, then you should be able to call the image directly with no prefix in the path. ie. `image_url('logo.png')`Alan Reid replied • Solved
Separate Asset Pipeline
Short answer: by using `` and some conditional on the `application.html`. So if you're in the admin controller do display one specific css/js set and a different one if not.Nelson replied • Solved
Where do this code go? (Refactoring Rails Workers)
Thank you!! Solved.Arjun Rajkumar replied • Solved
Accepts_nested_attributes_for, I am getting 'unpermitted parameter: :user' and User not entering to DB.
got the answer, needed to add one line to the new action in AccountsController ``` @account.users.build ```Ryan Mindigo replied • Solved
How do I create my homepage subdomain ('www')
Thank you again this is perfectly what I needed. You're the best teacher I could ever dream of but I hope I don't bother you so much with my issues... By the way I think I would be interested in yo...Damian Nelwep replied • Solved
Why isn't the Boostrap Dropdown not working in the menu after loging in ?
Thank you very much :)Damian Nelwep replied • Solved
How do I create an app with Urls like 'https://username.website.com/' instead of 'https://website.com/username/' ?
All the navigation is in `app/views/shared/navbar.html.erb` 👍Chris Oliver replied • Solved
migrating to php
Thanks for your help Jacob. I understand better now.vampster replied • Solved
Stuck on creating new record
Thanks Jacob... I havent been using the scaffold generator, but I will do in the future to avoid these confusions.Nelson replied • Solved