Ruby on Rails Community Forum
Why does my bootstrap not work across the application. Rails 5
0
Rails
I'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 posted
Setup Ubuntu 14.10 Utopic Unicorn Discussion
0
General
Exciting Job Opportunity - Ruby on Rails | Los Angeles based | Are you interested?
0
Ruby
I am searching for engineering talent for a few open roles with innovative, growing, employee-centric companies disrupting a variety of exciting industries, prioritizing Ruby on Rails. All of them ...
Polina Resenchuk posted
Building AnimatedGif.me Part 2 Discussion
0
General
Rails, turbolinks and javascript. How to avoid duplicate Switchery button appear?
0
Javascript
I'm implementing Switchery button in my Rails app and Turbolinks is on. When I navigate to another page, and then click the back button, the button is being duplicated.
Here is my Javascript code:...
Lee Terng Gio posted
How to model a company that can be both customer and supplier.
0
Rails
Good 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 posted
Switchery toggle button duplicated using Turbolinks
0
Javascript
I'm implementing Switchery on my Rails app, and I'm also using Turbolinks. Everything works fine and the switchery is working except when I click to another page and then click the back button, the...
Lee Terng Gio posted
How do I send a javascript array to my controller?
0
Rails
Hello everyone, is there any way I can send a javascript array straight to my rails controller?
Thx!
Eduardo Trintin posted
Switchery duplicate when clicking back button using Turbolinks
0
Javascript
I'm implementing Switchery on my Rails app, and I'm also using Turbolinks. Everything works fine and the switchery is working except when I click to another page and then click the back button, the...
Lee Terng Gio posted
How do I send an image or file to an API
0
General
What's best practice to send an image or pdf to an API endpoint?
**Scenario:**
I have a vuejs app I want to send an image or PDF to a Rails api application. The I want to use active storage to org...
codecabinaustralia posted
Facebook API and Refreshing Auth Tokens with Koala Discussion
1
General
Hey, I'm actually seeing an error occur every now and again when a user changes their Facebook password and I need to redirect to Facebook auth dialog. Would someone be able to answer my question: ...
Alexey Poimtsev replied
How to validate model attribute
0
Rails
Hello 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 posted
Install Ruby On Rails on Mac OS X 10.15 Catalina (Issue)
3
Rails
I ran this command:
**rails new myapp**
I got this output:
> Overwrite /Users/woodbineone/myapp/.gitignore? (enter "h" for help) [Ynaqdhm]
> force .gitignore
> conflict Gemf...
WoodbineOne replied
Criipto service integration in Rails app
0
General
Hello, i want to integrate Criipto service in my Rails app. I tried different ways, like auth0, openid an so on, but can't. anny suggestion how to do this?
Bukenco posted
How to relate such as tables of a scaffold and a model and presentation of data in the show.html.erb view of the scaffold. Rails.
3
Rails
I am making a patient control system where I have the following tables that I need to list and present the data on the show.html.erb of patients.
I created a patient scaffold with the following da...
Chris Oliver replied
How do I do multiple uploads in Active Storage?
0
Rails
Hi 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 posted
How do I use Devise in normal AND API mode
0
Rails
Hi 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 posted
Showing online users in chatroom sidebar
0
Rails
Hi
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 posted
Doing multiple uploads with Active Storage
0
Rails
Hi 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 posted
Migration issues
0
Rails
Can 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 posted