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

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

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...

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

Advanced URL Parsing in Rails with PublicSuffix & Addressable gems Discussion

0
General

Uploading Files to DigitalOcean Spaces Discussion

8
General
Thanks Chris. This was very timely as I was just considering options on a file upload project at the moment.
Zack replied

Domain & Subdomain Routing Constraints in Rails Discussion

9
General
@Chris !!!! THANK YOU! I've been at this all day working with acts_as_tenant. Had some issue with some "undefined method `arity' " error when I added the acts_as_tenant(:account) to a model. Not...
bradnealy replied

Decorators with the Draper Gem Discussion

3
General
How do you handle something where you're using a foreign key, for example a Commentable concern. Comment has a user as commenter. The User class method works fine, but is there a catch all way to a...

Decorators From Scratch Discussion

17
General
Nailed it. Thanks again Chris - could never find a good explanation on Decorators, hence I never used them, will be sure to use them now!
Daniel Jackson replied

Modular Code Organization Discussion

5
General
Awesome class!!!!!
katyswift468 replied

Setup Ubuntu 16.10 Yakkety Yak Discussion

0
General

Setup Ubuntu 23.10 Mantic Minotaur Discussion

0
General

Testing API Integrations with WebMock Discussion

3
General
This might help someone watch the video. The website provided (https://jsonip.org/) didn't work for me. The following error occurred: ---- SocketError: Failed to open TCP connection to jsonip.org:...
Chris Oliver replied

Are there more than 2 levels on "Path" section?

1
General
Are there more than 2 levels on "Path" section, which I don't see because I am not Pro member, or there are only 2 available at the moment?
cjilbert504 replied

Querying Named Scopes Across Models with ActiveRecord::Relation#merge Discussion

8
General
Thank you for sharing, Chris, really awesome feature.
ekartzpoot replied

API

2
General
Hi everyone, I have recently set on a mission to learn more about APIs. I get some data from a external JSON API but have come a cross an issue that I need some help with. I’ve defined my cars v...
Solved

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.