foreman issues
ok thanks
Wole Ikotun repliedok thanks
Wole Ikotun repliedHello, I'm a newbie on Rails. I use devise for the authentification and i want to force all new users to changer thier default password at the first connexion. I also want them to update thier pa...
lionnel Patrick postedBest is to have a wrapper around your your app. Chris talks about this too but just as a refresher ``` <%= yield %> ``` Then throughout your app on your html.erb files you can ...
Tabish Iqbal repliedI'm starting a project with rails 5 and the first thing I did was add the bootstrap to rails 5. I added the gem and imported it into application.scss. I generated a devise Admin and the bootstrap w...
Thomaz Wanderbruck Schmidt postedGood morning all, I am creating an application for managing customer and supplier proformas and customer and supplier invoices. I would like you to give me an idea of how to model the company entit...
francel.webdev postedHello everyone, is there any way I can send a javascript array straight to my rails controller? Thx!
Eduardo Trintin postedHello everyone, question. I have the following code: class Country < ActiveRecord::Base has_many :cities, dependent: :destroy accepts_nested_attributes_for :cities end class City < Act...
Harris Mariano postedThis forum is completely worthless
WoodbineOne repliedYou can't save `street` to the Patient model if you don't have have a column with that name. You said you were using a separate table to store the addresses, so you would need to use a nested for...
Chris Oliver repliedHi there, I am following this tutorial to do multiple file uploads with DropboxJS but I don't know how to get multiple images belonging to a model to show in the 'show' page. Only one image shows ...
Arthur Truong postedHi guys, I want to use Devise for creating users with mobile app via REST API but I also want use it in classic fashion. So in API I want to return JSON and appropriate HTTP codes. Also I want to i...
Jaroslav Horák postedHi I am building a website ("All-In-One") with articles publishing and a chatroom. The basic is done and apparently, everything works. So, now I'm working on better styling and details. here is the...
Bina Darabzand postedHi there, I am following this tutorial to do multiple file uploads with DropboxJS but I don't know how to get multiple images belonging to a model to show in the 'show' page. Only one image shows ...
Arthur Truong postedCan I know when I run "rails db:migrate" its updating mysql and schema but not in migration folder files. Also "rails db:migrate VERSION=0" is not working...
Semicolon postedI am new to ruby on rails, can please guide me, when I run migration my schema.rb has a character set = latin1, I wanted it to be utf8mb4, how to set this by default.
Semicolon postedIs it a good practice if we can call a REST api on `before_action` hook of `application_controller.rb` and store the response in helper method? My Scenario is that I wanna call an API from another...
Ali Ahmed replied • SolvedHi, my question is simple that sometimes I have to extend my model with methods that are usually for more advance business logics and sometimes I need some methods that are used in views (not speci...
Ali Ahmed postedI fixed it by changing the params from clinics_attributes: [:id, :clinic_logo, :clinic_name, :clinic_address, :clinic_zip_code, :clinic_municipality, :clinic_about, :clinic_mail, :clinic_...
Kasper Valentin replied • SolvedThe reason APIs are versioned is because you can do these validations on the API level rather than in the model. You would say that in v2, we'd ignore the `a` parameter now, even if you still submi...
Chris Oliver repliedI changed the sort in the view as follows and everything works. <%= form.fields_for :prospect_calls, form.object.prospect_calls.sort_by(&:call_date) do |p| %>
William Jones replied • Solved