Ruby on Rails Community Forum
`simple_form` Date Selector
0
Gems / Libraries
I've been working with the `simple_form` gem to create the forms in my app and I would like to know if anyone have experience replacing the default `date` selector? Its functional but a completely ...
Nelson Casanova posted
How do I update Ruby/Rails ?
1
Ruby
Hello,
I have a project running with ruby v 2.6.1 and I would like it to work with 2.6.3 .
How do I upgrade ruby and rails versions?
Thank you
Rajan Bhattarai replied
How to export the entire active records to a csv file where each sheet is a active record
0
Rails
Is there a way to achieve exporting the entire active records in a rails application to csv where each relation is a sheet of csv or there is another way to export full db data.Any suggestions?
Abhishek Aravindan posted
2 rails apps , 1 database
0
Rails
Hi fellas,
I have a project to do where 2 apps share one database!
**1.** The first one (app1) is a basic blogging application that lets a user register and then write posts. Each user can write, r...
AgonIdrizi posted
How to run serial (multi-step) background jobs?
0
Rails
After a user submits a URL via a form I need to run a handful of jobs in series
What would be a good way to do this?
1. User submits URL
2. Use the URL to build file paths
3. Download file 1 fro...
Daniel Weaver posted
Using active_record_store instead of cookie_store
0
Rails
I am using
intializers/session_store.rb
`MyApp::Application.config.session_store :cookie_store, key: '_myapp_session'`
config/application.rb
`config.middleware.insert_before "ActionDispatch::Ses...
Amit Mallick posted
How to Build a Forum with Jumpstart Pro
3
Rails
Hey Guys,
I'm following along with the How to Build a Forum with Jumpstart Pro video (https://www.youtube.com/watch?v=ZSom4V-nYxA&t=903s) and I am running into the error "The action 'create' ...
Rob Thomas replied
How do I have data-turbolinks-permanent inside data-behavior="vue"
0
Javascript
Hello,
I'm building a RoR application with Vue.js using a data-behavior="vue". I need to use the data-turbolinks-permanent to keep a nav-bar generated with bootstrap-vue.js and mdbootstrap-vue (si...
Alejandro Ruiz posted
Should I rewrite my app?
3
Rails
Before you shout "NO!!" hear me out. I think this may be one of the those cases where a rewrite is reasonable.
Our current application:
* is 6 years old
* is currently on Rails 3.2.14 and Ruby 2.0...
Daniel Weaver replied
Vim is being "killed" by OOM when trying to open prod log
2
Servers
I'm hvaing an odd issue that I can't see to get a handle on.
When I ssh into my prod server and I try to open /home/deploy/app/shared/log/production.log in vim or nano the process just hangs for ...
Drew Bragg replied
How to integrate custom css/bootstrap/js template in ROR ?
0
CSS
Is there any GoRails video tutorial about how to integrate custom css/bootstrap/js template in Ruby on Rails web application?
Luis Cuevas posted
Configuring WordPress with Apache and NGINX
0
Servers
With Apache, I am facing slow server issue, I am trying to [Hosting WordPress on NGINX with Apache](https://www.cloudways.com/blog/wordpress-nginx-with-apache/), would it work good for my website o...
Alex Morco posted
My sql issue
0
General
Hi ,
I am Getting issue /usr/local/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- mysql (LoadError)
from /usr/local/lib/ruby/2.0.0/rubygems/co...
DHARMESH SHUKLA posted
Aparment switch in multiple database rails application
0
Rails
I have two rails application "base1" and "base2". base1 uses db1 and have multiple tenants inside this database. "base1" is multitenant application using apartment gem. "base2" is single tenant app...
Abhishek Aravindan posted
Any good guides on how to start with redis and action cable?
0
General
I want to get some action cable notifications working on my site. I have never used redis before or action cable. I see there are videos on gorails on action cable that seem to spec that you have r...
spacerobotTR posted
Is it possible to make multiple belongs_to or has_one association?
0
Rails
I have a table Operations with two columns referenced to Accounts. One column is called **debit_id** and other **credit_id**. Model looks like
```
belongs_to :debit, class_name: :Account, opt...
Kolbasoid posted
Is it possible to remove formatting tools from the ActionText Trix editor?
2
Rails
I looked at both the ActionText and Trix documentation and could not find anything on how to disable/remove formatting tools and disable file uploads for ActionText.
For the project I am working o...
Adam Stockland replied
How do I run / install ROR with an outdated OS system?
0
Ruby
I'm new to programming/development. I have an old Macbook Air. It's El Capitan OS X - 10.11.6.
I can't download the latest OS due to the age of my mac. I can't download the latest xcode due to the...
jrd656 posted
Issues Deploying Rails App
5
Rails
Hi there,
I'd like to deploy my app and I followed a long tutorial (not the GoRails one badly :( ) but I managed to put it on the server and running with Capistrano. DB is postgre and OS is Debian...
jundalisay replied
How do I use javascript in assets/javascript with HTML
0
Javascript
I am completely new to Rails...sorry. I have a simple application.
I want to detect when a field changes and in a form_with block in a new.htlm.erb file and execute pure javascript code in the asse...
jon posted