
The difference between Link_to vs Button_to in Ruby on Rails Discussion
0
General
Another trick is to use `formaction` for having multiple buttons in the same form without using any hidden forms.
For example:
```
<%= form_with model: @blog_post do [form| %>
<%= fo...
Ajay Guthikonda posted

What music gets you kept you motivated when developing?
8
General
Had an interesting message from a GoRails member (Jacob) which mentioned what music we listen to as we develop. It's a great discussion starter and could be cool to share playlists from Spotify, or...
Alan Reid replied

I actually don’t have a question for a change, but a comment
0
General
I’ve been on a few forums for Ruby and Ruby on Rails, and I’ve noticed that everyone is so nice and helpful. I’m a newbie, hobbiest and everyone has been polite and not snarky at all. Thank you all...
Rickwheeler1992 posted

Setup Ubuntu 14.04 Trusty Tahr Discussion
0
General

What could be the best way to deal with addresses in terms of database structure and perfomance?
2
Databases
I'm creating an app for my company. In that application there are a lot of addresses because for Owner, Store, Landlord, etc needs to have address.
At first I was thinking to create separate model...
Willard replied

How do i deploy rails 7 app on digital ocean with password
1
Rails
Hello my question is how can i deploy rails 7 app(api only) on digital ocean i have password not ssh key and my operating system is windows

What should I be using to connect react to rails backend?
1
Rails
Hello all, apologies if this has been asked before. I currently work with react and node/express for the backend, but have been playing around with rails on the side and have been really enjoying i...

how can i pass mailer_name into a method using noticed gem
0
Ruby
us = User.first
email = EmailDetail.find_by_name("Welcome User Email")
UserNotification.with(email_class: "UserMailer" , email: email.function_name).deliver(us)
i am trying to pass maile...
zunaira ihsan posted

Best way to handle accessing resource view in modal and non modal
0
Rails
Hey there,
I'd like to get some advice on how to handle rendering similar content like a show/edit for resource in modal or in full page render. Does it make sense to have multiple routes for thes...
Edwin Mak posted

i am a complete beginner, where do i start to learn ruby?
0
General
Hi, i am a student and landed here through github student dev pack, would like to learn ruby but have no prior coding knowledge. I would like to start with ruby rather than python or javascript. I ...
Guy posted

Looking for some good instructions for clean Rails install on Cloud9 with Bootstrap
0
Rails
Hey there,
I am starting a new project and I want to get it off to a clean start with Rails 7 and Bootstrap 5 on Cloud9.
After viewing some videos and going through the process a few times, it se...
chuckblake posted

Trying to relearn CSS and I'm stuck
1
CSS
I'm trying to figure out how to do a simple animation. I have a box with some text content, the idea is that the box only shows an h2 element until the user mouses over it, then it reveals the para...

SQL Introduction with PostgreSQL Discussion
1
General
Nice job Collin! : )

How to I Architect my application?
1
General
So I have been tasked with a project where I have 3 entities, say a retail shop, wholesale shop and a manufacturer. Each have their own schemas (each shop has its own subdomain). All three entities...

Custom Image Analyzer
2
Rails
I have a custom ActiveStorage analyzer that (will) exact a bit more metadata out of an image and save it in ActiveStorage (i.e.: camera, shutter, etc...) For simplicity sake, the metadata method h...

Handling Subdomains and Multitenancy From Scratch Discussion
55
General
This is my favorite episode thus far. The expansion on top of Rails is so intuitive, never thought how useful separating accounts from users would be.Hopefully there's a simple answer to this. When...
Robert Ault replied

Contributing to Open Source: Adding subdomains to the Addressable gem Discussion
0
General