Skip to main content

Community

Subscribe to GoRails to join the conversation. Ask questions about your code, get help adding a new feature, and discuss implementation details with other members.

1 post Gravatar

Are there any WORM (write once, read many) data stores that integrate well with Rails?

Databases • Asked by Chris Zempel

I've gotta store a bunch of events, which are snippets of data that contain information about a thing that happened inside the system I'm working on. I'm building out audit trail, which could poten...


1 post Gravatar

Is it better to create 'duplicate' inverse join records or traverse via ruby/rails?

Databases • Asked by Thomas Bush

I am buidling an application for real estate centered around comparing properties. I have a self referential relationship, Comps, which joins two properties and stores some additional data. G...


7 posts Gravatar

[HATCH] - Deleting separate applications on the same server?

Databases • Asked by Lauro Silva

I've been deploying several toy apps on the same server, but after I'm finished with them I would love to easily be available to delete them using Hatch's interface, instead of having to SSH into t...


3 posts Gravatar

How Do I Create an App Where Each User Has A Separate Table

Databases • Asked by Vikram Sharma

Hi, I want to create a web app which is a simple HR SaaS. Each user/company which registers will have get a separate table to upload list of employees. In terms of autorization a user/company ca...


1 post Gravatar

How to perform bulk update in rails?

Databases • Asked by Srinivasa Varma

Hi there, Here is the problem in more detail. I tried to perform bulk update on rails model, but ended up with normal save method. I have some number of records and i wanted to update their valu...


5 posts Gravatar

Polymorphic relationship vs STI vs Class table inheritance with RoR

Databases • Asked by Toshiki Inami

Hi I watch your tuts and it's pretty helpful. Always thanks! I have some question about database design. There are three types of invoice items with following tables 1) **SubscriptionItems**...


3 posts Gravatar

Some good ways of seeding data in my app?

Databases • Asked by Karl Coelho

I need some seed data for my app. How do I seed Devise users, and always as images for Paperclip?


3 posts Gravatar

How would you improve these db's and associations

Databases • Asked by Shaun Fahey

Database Structure Hello people. I have my first proper paid Rails project to start soon, so I’ve been thinking about the database and the associations. The two links below are the databases...


6 posts Gravatar

Importing datasets. Recommendations?

Databases • Asked by Brent C

I have a few datasets that I need to import into my rails app. They vary from 100 records to 5000 which will span across a few models with various associations. Q.1: I can cleanse the data prio...


9 posts Gravatar

setup Postgres user fails

Databases • Asked by Anthony Candaele

Hi, I'm following the Deploy Rails guide I'm now a the part where Postgres gets installed. I successfully installed Postgres, but when I try to create a new Postgres user with: createu...