what is the future of Ruby on Rails ?
W3Villa is a leading Ruby on Rails development company that offers the best Ruby on Rails development solutions with extensive experience in ROR web and mobile development and an extensive understa...sara williams posted
Transforming JSON responses to Ruby objects with OpenStruct Discussion
This is great to see but I'd prefer to put the "key" as an attribute on the class itself. Maybe Vultr::Plan::KEY or a class attribute. That way we merely pass in the "type" and the Collection can e...Jon Dalberg posted
Issue with Nested Forms in Rails 126.96.36.199
I think the main problem was that you were calling `@client.shipping_addresses.build` in multiple places, so the values from the form were probably getting overridden. - Remove `@client.shipping_a...Steve Polito replied
RailsCasts or GoRails?
Maybe it is better to go straight into the serious, namely trading. Otherwise you won't get far with it, you'd better spend your time on reading what are bollinger bands, or something else useful).halseng replied
Uncaught Error: If you load both jquery_ujs and rails-ujs, use rails-ujs only.
I have a rails 6.1 application that uses jquery. Here is how I'm importing it in my config/webpack/environments.js file: $: 'jquery/src/jquery', jQuery: 'jquery/src/jquery', jquery...Tripscape posted
Rails for Beginners Part 16: Logging Out Users Discussion
My guess is that when you put this route: "delete "logout", to: "sessions#destroy"" rails already knows where to go. And then in the button_to form you describe the route: "logout_path".Natan Nobre Chaves replied
Host sets website root to rails 6 public folder... why?
Hello. My host service sets website root at my rails 6 app public folder. This results in rendering the static public/index.html instead of root 'pages#index' each time i visit the website url. If ...Soppi posted
ERROR in chunk application [entry] js/[name]-[contenthash].js Cannot use [chunkhash] or [contenthash] for chunk in ....
@KeisukeMizuno your fix happens to remove the error. Thanks.Barlow Kasule replied
How to use Devise with Hotwire & Turbo.js Discussion
Hey! I have another problem - when i destroy my account from devise's Account page i see following error: NoMethodError in Users::RegistrationsController#destroy undefined method `users_url' for #...Alexey Poimtsev replied
how to use devise_invitable gem in rails
Admin creates a User. App sends Invitation Email to new User. User clicks on link provided in the email. Links takes new User to a webpage where he pick his password. User can now login to the ap...Adnen Mrad posted
New Users Only Created by Admin User
what changes should i do in the users controller when using the 'devise_invitable' gem ?Adnen Mrad replied
Coffeescript 2 Rails Asset Pipeline
https://github.com/madilraza/How-To-Secure-A-Linux-ServerMUHAMMAD ADIL RAZA replied
Deploy Ubuntu 20.04 Focal Fossa Discussion
Excellent tutorial. Quick question. How do I force nginx to rewrite/redirect www.example.com to example.com?Philip replied
Select Or Create Field With Selectize.js Discussion
Hello everybody, I have the following issues. While trying to install the code as provided, I get an error: Uncaught TypeError: $(...).modal is not a function at Selectize.create (post.js:34)...Rafal Siepak replied
How to use Google Analytics gtag.js with Turbolinks & Webpacker Discussion
Thank you for yet another amazing and informative tutorial! I found that in Rails 6.1.3 with Turbo (rather than Turbolinks), I needed to replace "page_location: event.data.url" with "page_location:...Ross P replied
Multiple Device support with Request Variants in Rails Discussion
How does this work if say you have a mobile app that's a wrapper for your WebViews, compared to someone using safari/chrome on their mobile device?Tabish Iqbal replied
Looking for Ruby on Rails Developers to work In a US based company
Thanks for sharing. It looks great as usual.Michael Lynch replied
How do i use a username instead of an email?
Thanks OP for your reply. I also would like to know more how to add username instead of an email.Michael Lynch replied