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 • Solvedfingers 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 • SolvedIf 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 • SolvedShort answer: by using `<%= javascript_include_tag 'admin', 'data-turbolinks-track': 'reload' %>` and some conditional on the `application.html`. So if you're in the admin controller do displ...
Nelson replied • SolvedThank you!! Solved.
Arjun Rajkumar replied • Solvedgot the answer, needed to add one line to the new action in AccountsController ``` @account.users.build ```
Ryan Mindigo replied • SolvedThank 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 • SolvedAll the navigation is in `app/views/shared/navbar.html.erb` 👍
Chris Oliver replied • SolvedThanks for your help Jacob. I understand better now.
vampster replied • SolvedThanks Jacob... I havent been using the scaffold generator, but I will do in the future to avoid these confusions.
Nelson replied • SolvedI went ahead and created a new thread. Thanks for taking a closer look.
midtown replied • SolvedNVM :)
Taeyang Lee replied • SolvedOh that's great to hear, Clint - happy it was a help :)
Amie Fudge replied • Solvedhelp me to statr my first projet with RoR. on installation rails v4.2.10 ( *impossible for my to install the last version => v.5.x*) before create my project with command : `rails new inspiron -...
kara posted • SolvedAwesome right? It's super fast. Just make sure your Rails requests are fast too. I cache a lot and have it stored in redis (or memcached). That way Rails has even less work to do and can serve up t...
Chris Oliver replied • SolvedAs always so many ways to get stuff done. I will check out scopes later this evening.
Alan Reid replied • SolvedI believe you should consider to read this before migrate to the multi tenant way. https://influitive.io/our-multi-tenancy-journey-with-postgres-schemas-and-apartment-6ecda151a21f
Ary Rabelo replied • SolvedForgot to mention, this is what Basecamp does when you create like a new Message. Same concept as writing a draft email in GMail too. Adding this to my list for a screencast. 😜
Chris Oliver replied • SolvedI finally went for 1 with Current.account implementation (a few days banging head). it works about ok....I have a lot of workarounds though...closing this. feel free to comment if you need some inp...
Stan X replied • SolvedOk, I got rid of it... I refactored as follows: `application_controller.rb` ``` class ApplicationController < ActionController::Base def check_user_login @user = User.find(current_user.i...
Nelson replied • SolvedNevermind... after a few hours of debugging I manage to find the source of my suffering... it was Turbolinks... I removed that and now thinks are back on track...
Nelson replied • Solved