Ruby on Rails Community Forum
Rails 6 With Full Vue Frontend vs Sprinkled Vue Components
4
Rails
I'm struggling to decide how best to integrate Vue in my Rails 6 app. 🤔
I've read [some tutorials](https://web-crunch.com/ruby-on-rails-api-vue-js/) that suggest using Rails as API with Vue as fro...
Tabish Iqbal replied
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
Prawn disposition: "inline" not working
1
Gems / Libraries
I have been following the Railscast video #153 PDFs with prawn. I want the PDF to display inline instead of down loading it, the following is my code;
def show
respond_to do |format|
f...
William Jones replied
Solved
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
Why am I getting a concurrent-ruby gem conflict when using the rails new command?
1
Ruby
I have created many rails projects to date without any problems. However when I tried to create a new project today using the command 'rails new pallet_tracker' I get the following error,
/home/bi...
William Jones replied
Solved
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 convert each pdf pages to an image and display a thumbnail?
0
Gems / Libraries
Hi everyone,
I am new to rails and would like to ask how to create pdf thumbnails on each pages and/or convert each pages to an image and generate a thumbnail. Thank you.
Harris Mariano posted
Solved
How to convert each pdf pages to an image and display a thumbnail?
0
Ruby
Hi everyone,
I am new to rails and would like to ask how to create pdf thumbnails on each pages and/or convert each pages to an image and generate a thumbnail. Thank you.
Harris Mariano posted
Solved
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