Ruby on Rails Community Forum
bash to zsh
1
General
I am following this guide https://gorails.com/setup/osx/10.15-catalina to setup a Ruby on Rails dev env on my MacBook Pro. I was prompted to change the bash shell to the zsh shell. In the guide men...
Chris Oliver replied
Question regarding creating new items with belongs_to association!!
0
General
Hi, I am completely new to Rails and would like some help. I am trying to implement a to-do list using Rails as my backend and React as my frontend. Initially, I created a model and controller that...
MasonLogan posted
Recommendation for a maintained library similar to Datamapper?
0
General
I really liked to use Datamapper for my small hobby projects, it was so easy to set up and change the schema (no migrations needed). However the repos have been archived and they're unmaintained no...
Edward11 posted
hit
1
Rails
xx
ff replied
Solved
Problem installing pg-1.1.4 as part of Rails 6 install
1
Gems / Libraries
I'm following the instructions in the post on installing a rails development environment for MacOS Catalina. I'm able to follow the steps up to checking the rails version:
$ rails -v
Could not fin...
Dean Richardson replied
Is Gorails's jumpstart worth the price?
1
General
ooking to build some apps and saw that Gorails offers https://100001.onl/ https://1921681254.mx/ https://acc.onl/hotmail
I played with the free version and wanted to see if anyone has:
Built with ...
Chris Oliver replied
how do implement a rails popularity/trending algorithm!!
1
General
* I'm making a web app and I want to sort through a model based on popularity/trendiness, kind of like reddit/hacker news. [192.168.0.1](https://19216801.onl/)
I want to determine the popularity ba...
Chris Oliver replied
Ruby on Rails ActionMailer Images Issue
1
General
I'm trying to use embedded images in my E-Mail, but if I try to load a file from my image folder as a header, it's not displaying in the email:
The image is an inline attachment:
def export_b...
Chris Oliver replied
rails new demo without getting a error message?
1
Rails
I did the basic installtion from a book I'm reading and i get the following error message when i type in the command `rails new demo` in my terminal.
```
Michaels-MacBook-Air:~ michaeljonathanamay...
Michael Amay replied
Any way to reduce complexity passing JSON to Vue.js component?
0
Rails
Hi,
I'm trying to figure out a way to reduce the complexity of passing a JSON to a Vue.js component.
Currently I've got something like this placed on a model scope,
```
scope :to_vue, -> (id)...
Eduard Garcia posted
Can not use toast of bootstrap in rails
1
Javascript
I did `yarn add bootstrap jquery popper.js` and import bootstrap into the app.
Also, bootstrap's popover and tooltip style works well.
But when I add a toast in page and run `$('div.toast').toast('...
Chris Oliver replied
Solved
How do I exclude images in my auto formatting of PDF links?
0
CSS
I added some CSS to my site to put a font a https://birthdaywishes.onl/ wesome PDF icon in front of every hyperlink that links to a PDF. It looks great, but there are a lot of instances where there...
AustinLan posted
Does anyone have a pre-made stylesheet for wiki pages?
0
General
Although I wouldn’t mind making a custom style sheet, it would be quicker to find a style sheet that’s already been made. I’m currently trying to make a wiki page for something and I don’t want to ...
MaverickLan posted
Bizarre cache issue
0
General
How do I force the browser to always refresh parts or all of the content?
I have a bizzare issue where the browser is caching parts of the site. For example I have a 'History' for a model row in ...
Dan Tappin posted
how can i access boolean value to other controller in rails
0
Rails
i have ProjectSite model and ManagerRemark model related to many to one association. my MangerRemark model remark string field and decision boolean value true and false. i want to access that boole...
anuj posted
How do you figure out what and how to load the css/scss assets with Webpacker
0
Rails
For Bootstrap you added to `application.scss `(I may have named my folder differently:
```
import "bootstrap"
import 'bootstrap/dist/js/bootstrap'
```
and
```
@import '../css/bootstrap_custom';
@i...
Greg S posted
Expanding beyond a basic Rails CRUD site.
0
General
Hello everyone,,,
So I've got a fairly basic CRUD style rails app, which has a list of Gins, Distilleries and and blog Posts.
I'd like to expand it quite significantly in the following ways:
Add ...
Konhaivo12 posted
Can someone help with some CSS please
2
General
I am working on a website and i'm trying to change the vertical height of the header of one of my pages. I only want the header of this page to change and not all of the headers across the whole we...
Hans Petter Lie-Nielsen replied
Error installing gem pg on Mac with Postgress.app
0
Rails
The pg gem will not install. Getting:
```
ERROR: Error installing pg:
ERROR: Failed to build gem native extension.
current directory: /Library/Ruby/Gems/2.3.0/gems/pg-1.1.4/ext
/System/Libra...
John Petit posted
How to save DOM elements in the database?
2
Rails
Hi
I'm working on my very first "real" Rails project, and it might be a bit to advanced for a newbie like me. But here we go (sorry for the long and confusing rumble).
**Goal:** I want to save the...
Magnus von Bromsen replied