Ruby on Rails Community Forum

Anyone here built an iOS app with ROR backends.

3
General
Hey all! Just looking to learn more about how to build iOS apps with ROR backend, and wondering if anyone has done the same? If you can share links/resources that has helped you build iOS apps, it'...
Chris Oliver replied
Solved

How i can reuse one rails webapp as a API?

0
Rails
Hi, i build a rails application but i need reuse this app to create a API to use this as a backend for a IOS Application, this is posible? Thanks for yours comments.
Miguel Rios R posted

Shrine::Error: storage :cache isn't registered on FileUploader

1
Rails
Im using Mongoid 6.0.3, ruby 2.3.1 and rails 5.2 I created a file_uploader class for handling my uploads using shrine. > > /app/uploaders/file_uploader.rb ``` class FileUploader < Shrine...
Ashutosh Mittal replied
Solved

Alternative solution for belongs_to through

0
Rails
What is the alternative solution for belongs_to :through in association
Ravikumar posted

Not able to override a column with default value

1
Rails
I have created this in migration, ``` created_by VARCHAR (64) DEFAULT CURRENT_USER, updated_by VARCHAR (64) DEFAULT CURRENT_USER ``` By default the current user values are stored but when i try to...
Jose replied

RAILS SIDEKIQ SCHEDULER

1
Rails
I would like to launch the worker after an action and this worker must be launch automatically after every 5 seconds to check a status and when the status is checked, it must be stops. How can I do...
Chris Oliver replied

Team tracking?

1
Site Feedback
Hi Chris, Is there or will there be a way to see which videos my team have watched, and how many, and what their XP scores are, etc, all on the team page? And see whether they actually watched, o...
Chris Oliver replied
Solved

Setup Ubuntu 14.04 Trusty Tahr Discussion

0
General
Hi Chris, can you help out with my ActionCable deployment issue here: https://gorails.com/forum/websockets-with-rails-passenger-error-during-websocket-handshake-unexpected-response-code-400 Apprec...
Rizal Yusoff posted

Ruby on Rails save on model has_many to has_many doesn't trigger on build

0
Rails
We have this model called "Cliente" (cliente.rb): ``` class Cliente < ApplicationRecord has_many :clientes_hardwares has_many :clientes_notificaciones has_many :sucursales has_...
Ulises Carreón posted

Error when running in Test Env

2
Rails
Hi peeps, I setup linux virtual machine in Azure, I was following this guide https://gorails.com/deploy/ubuntu/14.04 I want my VM as my test environment, however when I run 'cap test deploy' this...
geekdie replied

Nested Model of an already nested model

0
Rails
I want to make sure my thinking is right more than anything else on this post. Hopefully I can explain myself clearly and get pointed in a good direction. **My Scenario** I have 3 models. Model A...
RJ McCollam posted

Align Images with Text

1
Ruby
Hi I'm doing a report with ruby ​​prawn, the code below shows two images on video, the fact is that the two images are not aligned, so the image c is displayed much lower, my question is how do I a...
Marcus S replied

Capistrano deployment is not happenning after Server IP Change

0
Rails
Problem: Recently We have changed IP address of the stage server. We are using Capistrano for deploying rails application. So after changing server IP address when we run a command: cap develop(bra...
Rutul Shah posted

JWT with Devise (App and API)

3
Rails
Hi, I'm looking to extend my Rails 5.2 application that uses Devise for authentication so I can support API requests via JSON. I have looked at Chris' videos and did some searching around -- most ...
Chris Oliver replied
Solved

rails generate devise:install hangs

2
Rails
I ran into this issue today whilst I was trying to deploy jumpstart template into **my Rails 5.2.1 App** When I ran rails generate devise:install nothing happened. No errors, no output – nothing...
Felender Hlungwani replied
Solved

SEEKING FREELANCER, Colorado Springs, remote: true

2
Rails
I have a Rails app I built with 5.2. It's intended to be similar to Soundcloud in some ways, Spotify in others. I am using Carrierwave to upload audio files to Amazon S3. One of the things I would ...
Marcus S replied

Stripe Signed Webhooks Discussion

1
General
Hi Chris, I am trying to test (with rspec) a webhook url with a particular event.type in stripe - "charge.dispute.created". I've simulated it on the stripe dashboard test site and the webhook work...
Pam Willenz replied

How to validate a form without a page refresh ?

0
Rails
We commonly do validation via client side validation in rails. But how to make the validation using ajax that is validates the form without page refresh
NarenPushparaju posted

How do I work with nested forms? Rails 5, Simple form

0
Rails
Link to Stackoverflow question: https://stackoverflow.com/questions/51942719/unable-to-render-double-nested-form
Cepheaus Chee posted

Load only products based on region ideas please :)

3
Rails
Hi all, Im trying to work out the best way to do a task. On the users menu, they are able to select a region they are a member of. Once a user selects a region I want to load all data on the page ...
Jacob Montgomery replied
Solved

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.