Ruby on Rails Community Forum
Sending a series of keystrokes to the terminal. (CentOS)
0
Ruby
Hi there, I'm just trying to automate a process. We use a command line tool which is navigated by keystrokes (no mouse).
I was hoping to create a ruby script to send the required keystrokes to tha...
MaxwellMax posted
Install Ruby On Rails on Mac OS X 10.15 Catalina (Issue)
2
Ruby
I'm running the following command:
mysql_secure_installation
I get this error:
Error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
I have enabled root.
WoodbineOne replied
Draper Gem or explicitly use Decorators and Presenters?
0
Rails
Hi, 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 posted
Setup Ubuntu 14.10 Utopic Unicorn Discussion
0
General
Collection and Vars in Controller are different than what's rendered in View
0
General
I'm having a really odd issue and have tried tons of things, but just cannot figure out why this is happening and how to change it.
I have a collection of resources that I render on an index page...
Lauren B posted
Can two apps consume webhooks of each others
0
General
So let's say I have two apps with different dbs and both are dependent to each other (feature wise). For example App #1 has the user table and App #2 calls the App #1 Sign In Api to login the user ...
Ali Ahmed posted
Episode for Unpoly framework
0
Javascript
Episode for Unpoly framework?
Nikola Okonesh posted
Making GeoSearch smooth with AJAX Discussion
2
General
Nice video Chris!
Amanda replied
How to version model validations for an API?
1
Rails
Why is API versioning necessary at all? It is required for when we want to make some breaking changes to an API endpoint, like stop accepting certain parameters or if we remove some part of the res...
Chris Oliver replied
Reducing Transfer costs with AWS S3
7
General
Have had my website up for about a month and a half now and have run into an issue where the data transfer cost for AWS S3 is crazy high (around $200/month). The website is a recipe sharing websit...
Alex Deering replied
Who wants to run Cypress.io tests in multiple browsers and platforms? AskJS
0
General
I'm reading about Cypress and its li [Mobdro](https://mobdro.onl/) mitations in many forums and blogs for quite a long time. Most of the posts talk about the missing ability to test cross-browser a...
Device application authentication via access and secret keys
0
Rails
I have been watching about the [How to buil apis with rails series](https://gorails.com/series/how-to-build-apis-with-rails) as a reference on how to create an API. Though I'm wondering on how can ...
norman santiago posted
Show time only in form input
0
Rails
I'm trying to display only the time in the edit form on my application, but I'm getting this:
2000-01-01 01:00:00 UTC
What I want is this:
01:00
How can I achieve this? thanks in advance
P.S.:...
Francisco Muñoz posted
Rails actioncable registered connection issue
0
Rails
I'm implementing ActionCable in my Rails app. I'm facing an issue with Registered Connection error. I'm using MongoID in my Rails app.
Here is my `connection.rb`
```
module ApplicationCable
cla...
Lee Terng Gio posted
Pipe convert out to Convert Input Minimagick
1
Gems / Libraries
Following is the command
`convert abc.jpg -scale 50x50! -depth 8 -fuzz 20% -transparent white sparse-color:- | convert -size 50x50 xc: -sparse-color voronoi '@-' +dither -colors 5 -depth 8 -format ...
Chris Oliver replied
Rails 6: A web app and an API server.
0
Rails
Can a Rails 6 app be built to both be a performant app with views and serve out data via an api? I've been looking for a tutorial, post, google term on this and have had no luck. Pointers and advis...
Bob Walsh posted
Question About Railties, rails repo and rails gems
1
General
I am having a hard time understanding the rails repo. Active record, railties and all others(action view, etc) are in a monorepo. rails/rails.
They are all separate gems as well? Can someone expla...
Chris Oliver replied
Which is the best place to put a custom validator class ?
1
Rails
For a custom validator like in https://guides.rubyonrails.org/active_record_validations.html#custom-validators
Maybe `app/validators` ?
Maybe `app/models` ?
Some other place?
Chris Oliver replied
Setup Ubuntu 18.04 Bionic Beaver Discussion
0
General
Rails + Stimulas or Rails API + React
0
General
Hi Chris
I have worked on many Apps with different set of architectures but never find this case at inceptive period that which approach we might choose to scale our Rails app either from being a ...
Ali Ahmed posted