Ruby on Rails Community Forum
Address already in use for headless browser
0
Servers
I use Watir and headless Firefox/Chrome to scrape a website deployed with Hatchbox:
def perform(uid_number)
pool = RandomPort::Pool.new #random_port gem to generate a free port
port_number = poo...
Turtle posted
How can one setup a service booking app with time limitations?
6
Rails
Hey guys,
how can one setup a service booking system where the customer can book services between 9am and 4pm on every monday and friday? Would you use the ice_cube gem to create timeslots and the...
Emily replied
How do you reference current_user with stimulus_reflex?
1
General
Trying to slightly build off the stimulus reflex dynamic forms checkbox lesson. I wanted to add the current_user id to the lastUpdateBy field when the checkbox is checked. I have not been able to g...
spacerobotTR replied
Button Loading Animations with jQuery UJS Discussion
68
General
Thank you! Really simple. :)
Marcos Filho replied
Setup Ubuntu 18.04 Bionic Beaver Discussion
0
General
How do I configure Rails to use a Proxy URL
0
Servers
Let's say we have a Rails project operating on the domain https://hello.world.com. The way the organization's infrastructure is set up, https://hello.world.com gets proxied into a new URL called -...
Mountaindog posted
Solved
Rails form post creates a 'Do you want to download “<form target>”' prompt on mobile
0
Rails
Hey everyone,
I'm just testing my first Rails app on mobile and whenever I submit a form I get a prompt to download the form target. See the screenshot below:
[Download Prompt on iPhone8](https:/...
TensAndTwenties posted
Rails micro-services and authentication domain to use with devise
0
Rails
Hi!
I'd like to split my rails application to microservices, such as
- main app 1
- main app 2
- main app N
- authentication and account management
- administration console
- marketing console (bla...
Alexey Poimtsev posted
Managed Postgres with DigitalOcean or thru own server with Hatchbox
5
Rails
I've been going thru the various ways to publish a rails app and trying to decide which method is going to be the best in the long run. After some searching I think Hatchbox and DigitalOcean is go...
Olly Headey replied
Solved
how to debug this
1
Rails
Is there a method to debug hosted ruby on rails application and check the request and response object
hammersxo replied
HRMS system using Rails
0
General
Hi,
Can we make an HRMS system with features like payroll processing ( that can display all the details related to it for the user in a web application ) & also attendance integration ( with ...
Considering jumpstart pro for a react native backend, is this a good idea?
1
General
Hey guys, I was just wondering if anyone had any advice on whether jumpstart pro would be a good place to start for me?
I want to create an API for my react native expo app. Does jumpstart pro mak...
William Kennedy replied
How to create a minitest fixture for a non database model?
1
Testing
Hi!
Is there a way to create a fixture for a model that is not in the database? I built my app a few years back following a guide in which the Plans were loaded from a YML file and instantiated as...
Simon Moro replied
Solved
Hi, my name is...
4
General
Ryan Blakely. I'm a PHX, Arizona based Rails developer. I started learning Rails about 2 years ago during my senior year of college at Arizona State University. After graduating and working for a y...
Overly Detailed Internal Error Messages
1
Rails
Errors which previously caused stack traces to be shown now only show the following generic error:
"The page you were looking for doesn't exist." However, the server responded with the response c...
How to block users from getting messages?
0
Rails
Hey everyone,
I have an internal messaging system in Rails 6.
I was wondering how can I add the logic for a button to block the user in conversation that I'm messaging with.
My setup and details...
Ulas posted
How do I show a modal popup from a link_to button
1
Rails
Hi,
I am trying to build a modal popup when pushing a link_to button. How do I accomplish this? The modal doesn't popup yet, but is underneath my link_to button.
<% if signed_i...
Samantha O replied
Solved
Can I authenticate the static files served with Rails
0
Rails
I have a static Jekyll site on my main Rails app in `/public/support/`. I would like to protect this site and only allow authenticated users to access it. Can I do that?
Dan Tappin posted
Stimulus reflex does not work at all in internet explorer 11?
0
Javascript
Stimulus reflex does not work at all in internet explorer 11? If the stimulus has the ability to trigger ie compatibility using polyfills, then I have not found an option for reflex.
https://expo....
Alexey posted
DateTime comparison in Rails 6
0
Rails
Hi -
I built this simple app to practice with ActionMailer as I learn Rails (LINK: https://github.com/eleetyson/time-capsule).
It works fine locally but when I deployed to Heroku, it seems that ...
Ethan Lee-Tyson posted