General Ruby on Rails Forum

Multiple objects in form and controller, hitting a wall.

0
General
So I'm working on a old version of a legacy app Chris and I paired on, trying to refactor some functionality and am hitting a wall. I currently have some basic paging functionality which creates a...
shakycode posted

Refile S3, presigned, multiple files + Cloudfront - generating images via javascript

8
General
Hello, I have followed along with both videos, but have come up with a little issue while attempting to generate a thumbnail within the success event. It seems to be automatically requiring the to...
Dean Fields replied

Ransack Scoping issues

16
General
Hey everyone, Just posted this question to stack overflow but thought I'd give it a try hear. I've been trying to figure out how to scope ransack searching for a couple of weeks but haven't figured...
alexander kehaya replied

HTTParty and trycelery.com API

2
General
Ok. I have tried for 3 days and I'm not getting anywhere. I am building a small kickstarter style campaign module for several products that will be run through Celery. What I want to accomplish ...
Edward Bishop replied

Must Read / Must Watch

19
General
I thought I'd start a thread of articles and videos that are super high quality for software developers. Things that make you think and improve your thinking and how you build products. I'll start...
emil mircea replied

API Design Decisions

7
General
I'm designing & building an API for a company and have arrived at a decision point I can't figure out. we're providing access to records. right now they want to quickly integrate with one clie...
shakycode replied

Idea for TimeClock Need Advice

27
General
I'm wanting to integrate Time Clock functionality into an existing Rails 3.2.21 app. I think I have an idea of how to do this, but I need some advice on the how to handle different scenarios. So ...
shakycode replied

Ideas for building a Wiki in my app

12
General
My users are all internal customers of our business. They are pretty information poor when it comes to our systems and processes and our company intranet is not very feature rich. So I'd like to bu...
shakycode replied

Advice on building a 'reports' feature

9
General
My Ruby on Rails enterprise app has a whole range of tables ranging such as customers, products, sales, warehouses, prices etc etc. I'd like to build a whole range of different reports that users ...
Daniel Chapman replied

Nested attributes with collection_select not saving

11
General
In my edit form I simply cannot figure out why collection_select isn’t saving the various values when it's nested. It works fine if I use a {multiple: true} and pull it outside of the fields_for ev...
Sean M replied

Any good regex rules for validation?

4
General
Currently, i am searching regex rules for validate url. And i am struggled how to build this from scratch. Is anyone have a good resources on this topic?
shakycode replied

How to create a dynamic form for Contest/Giveaway app

10
General
I've got two models, Contest (has many entries) and Entry (belongs to contest). When I create a contest I want to be able to add some questions that would be dynamically added to the entry form... ...
Fernando Contreras replied

Dynamic Active Record Associations?

7
General
Trying to wrap my head around the best way to handle this. I have an Event Model that has_and_belongs_to_many :event_types in my Event model I currently have a column for price.. However, what I ...
Chris Oliver replied

Other intermediate-advanced ruby/rails websites?

3
General
Hi, I don't know if it's allowed here, to talk about other resources to learn Rails and ruby, but I'm looking for more intermediate-advanced guides and/or screencasts that are up-to-date I'm real...
shakycode replied

BDD in a real project

4
General
Hi, Chris, I just subscribed to GoRails. Thanks for bringing us this great site. I really enjoy watching episodes, and I believe Go Rails has the potential to become one of the major resources fo...
Joe Guerra replied

Setup Ubuntu 19.10 Eoan Ermine Discussion

0
General

Setup Ubuntu 19.10 Eoan Ermine Discussion

0
General

How to use Mocks in Ruby tests Discussion

0
General

Dynamic Footer Timestamp in Rails Discussion

0
General

Fixing Brittle Tests: Avoid Hardcoded Values Discussion

0
General

Learning Ruby on Rails? Join our newsletter.

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