Adding an inline style to a Datetime_select field in simple_form
I think that you can do it from the html_options = {} [ApiDock](https://apidock.com/rails/ActionView/Helpers/DateHelper/datetime_select)
ramzieus repliedI think that you can do it from the html_options = {} [ApiDock](https://apidock.com/rails/ActionView/Helpers/DateHelper/datetime_select)
ramzieus repliedI'm trying to update a rails app which runs totally fine if I use rails 4.2.4 (the version it's been developed on) upto rails 4.2.7 As soon as I switch to rails 4.2.8 or later (tested all versio...
Widu Wittekindt postedHey Ivan, I haven't covered this yet on GoRails, but I should. This is a good tutorial to follow if you want to build auth from scratch. https://medium.com/@wintermeyer/authentication-from-scratch...
Chris Oliver repliedHi, I have been having having a challenging problem as my rails skill is still not great. I am using a cocoons gem to generate nested forms. I have three models `Employee` , `Competence` and ...
hemmpa postedLooks good to me. Maybe avoid all the comments.
Tabish Iqbal replied • SolvedHi guys! I'm getting this `OAuth Error: Invalid client_id parameter` after I insert the user creds. Here is my code contains the `client_id` - `devise.rb`: ``` config.omniauth :slack, ...
Ben postedHello someone could explain mehow could i do a find_each that give me all the records associate to my model This is the structure Venue -> has_many :services and Services -> belongs_to Venues...
javier burgos postedHello. I would like to share my problem with you. How to pass value from - in this or that, depending on select, method of Rails-controller? If id of (or name) selected is 'one', it should be pa...
Andre posted@Alexander Miasoiedov Have you found any solution to it? please share if you have any. I am also looking for the same architecture.
Srinivasa Varma D repliedI have an image uploader on a form, and images upload fine without the background processing. Since moving to Heroku, the larger source images often time out, so I'm looking to move this to a backg...
John Athayde postedim trying to combine the paypal button and the f.submit button but have no idea How to get there Is there any better suggestion ` // Render the PayPal button int...
dinesh124 postedI think I finally figured it out. Took long enough but I figured I'd share it. ``` class Student < ApplicationRecord has_many :enrollments has_many :klasses, through: :enrollments scope...
Peter Marcano replied • Solved``` gem uninstall rails ```
Matt Walston repliedI am trying to make a blog website. I am using `active_admin` and `cancancan` gem. Two controllers I have made are `Post`, `Category`. **posts_controller.rb** ``` class PostsController < Inher...
pushpam kumar postedWe have a Rails API that was used with Angular, we previously used the devise angular authentication plugin. With our new iOS app, we're having difficult trying to figure out how to integrate rail...
Jake Meier postedAh, another typo—though you got it working, but for maintainability—a (possible) solution. `@projects_id` returns an object, while it needs an array. That line should be something like this: `@proj...
eelcoj replied • SolvedI would recommend accumulating the products and their assocaited quantities as objects inside a local JS array. When the end-user presses "send", you can catch that event and build/send a FormData(...
pupdogg replied • SolvedI've read and understand the great ways Rails sanitizes data when going from server to client, but I have a question that I would love to get some guidance/input on. Recently it was discovered the...
Mark Kadlec postedHello, I am getting this "Rails ExecJS::ProgramError in Pages#home" error in browser, when i go to the root path which is pages#home. I am using windows 10. untill i dont add the bootstrap it work...
dev postedHi guys, am really stuck with this, I have a jonb field called occurrences, and one of my records has this on it : ``` [{"occurs_on"=>"2019-02-04 23:00:00 UTC", "status"=>"none"}, {"occurs_...
michel med posted