Ruby on Rails Community Forum
Incomplete response received from application when non-ascii character in html
0
Servers
I have an Ubuntu 18.04 server with Nginx and Phusion Passenger (non-Rails app) and it is working for websites with ASCII characters in HTML only.
But when I put a non-ascii character to the `index...
Jiri Prochazka posted
How to monitor account progress?
5
General
What is best practice or any screencasts about monitor acccount activities progress as gorails (see the attached image)? https://photos.app.goo.gl/ExWDzWBCMLm77FhA8
Thank you!
Chris Oliver replied
How to insert comma separated values in database from rails active admin form?
0
Rails
The details are here https://stackoverflow.com/questions/53350010/how-to-insert-comma-separated-values-in-rails-active-admin-form
rachit474 posted
i'd like to replace ransack with elasticsearch.
2
General
How would I go about that? There are plenty of elasticsearch gems, I don't know if i need something specific or can use a generic elasticsearch gem. I'm going to use the Bonsai Elasticsearch addo...
Joe Guerra replied
How do I upload files with ActiveStorage and Vue.js?
3
Rails
Hey GoRailers,
Stemming from the Rails & Vue.js Trello Clone, I'm looking to add file uploads to a Card model using the new Rails 5.2 ActiveStorage feature. I'm stronger in Rails - previously ...
Abhinav Mathur replied
Using Yarn w/Rails 5.1, Getting 404 Error for jquery-ui-dist Images
0
Gems / Libraries
I am using Yarn with Rails 5.1
I have successfully pulled in the css and js for `jquery-ui-dist`
ui-icons are returning a 404 error in browser. All other functionality works as expected.
applicati...
Garth Gaughan posted
eval issue in Rails view
1
Rails
Any idea why the following code :
<% model_set = instance_variable_set("@#{table_name}", eval("#{model_name}.all")) %>
produces this runtime error:
(eval):1: syntax error, unexpected '.'
...
Mark Nelson replied
How can i upload images directly from controller using Activestorage in Rails 5.2?
0
General
Hello guys. For learning purposes i am developing a MangaReader using Rails. Now i would like to be able to upload multiple chapters at once, so from a given route say "Downloads/chapters", and wit...
JDavid17 posted
just ran into some strange validation problem.
2
General
Can't remember why I added this to my product model.
```
validates_numericality_of :qty, less_than_or_equal_to: 10, greater_than: 0
```
but it was causing activerecord errors when I was removing i...
Joe Guerra replied
how do I troubleshoot my app?
3
General
is the only option to include a binding.pry and find out what's going on in my code (thru the console)?
Joe Guerra replied
Parsing a API source, but the JSON souse is not updating (Cache?)
2
General
I have coded a rake file to monitor and fetch data from a website that has this data in JSON format. The following is the actual source of this data
https://www.thegazette.co.uk/company/07877158/f...
Jacob Montgomery replied
active record with oracle_enhanced adapter
0
Rails
Hi, i hope that someone can help me....There is a way to set ClientInfo Property that use my active record connection with oracle_enhanced adapter? Maybe in initializers\oracle.rb ?
DamianoRoRDev posted
What is wrong in my script?
1
Rails
Hi dear community,
I created a survey app which has questions and answers as radio buttons. So firstly i asked on [stackoverflow](https://stackoverflow.com/questions/53241227/rails-survey-response-...
Chris Oliver replied
I got an error
1
Rails
Showing /home/ubuntu/workspace/bantayanBlog/app/views/layouts/application.html.erb where line #5 raised:
File to import not found or unreadable: bootstrap-sprockets.
Load paths:
/home/ubuntu/wor...
Joe Guerra replied
Anyone had experience with Wasabi Cloud Storage?
2
Tips
They claim $4.99 per TB/month with no API calls and Unlimited free egress, Amazon S3 API support, 6x faster than AWS S3, and they work with a couple different CDNs. This seems like a fantastic ser...
Daniel Weaver replied
How to serialize stored JSON serialization (in Ruby/Rails)?
1
Ruby
I'd like to store a JSON blob in my table (Postgres). The table needs to be read frequently. After my application reads the table, it returns a JSON serialization of this blob along with other attr...
Chris Oliver replied
New Site Design!
6
Site Feedback
Chris! The new site looks awesome! Great work!
Alan Reid replied
Page acts like it is taking a long time to load but doesn't load.
0
Rails
From the root page of my project, (new.html.erb) if you click 'done' to navigate to the results page it will not load. It will act like the page is loading but ultimately won't. My goal is for when...
alexanderross936 posted
Remove ActiveAdmin automatic link on show view
0
Gems / Libraries
Anyone know how to remove the default link Active Admin creates in the show view for other resources? In the code below, if `discipline` is a resource the user can edit and has an ActiveAdmin page,...
Colleen Schnettler posted
How to calculate MRR in Stripe?
0
Rails
I need total sum of MRR amount in single digit. Anyone knows how this is possible in Stripe?
Anthony Lee posted