Tagged Questions
-3
votes
0answers
47 views
Query on database recordset in ruby on rails [closed]
I want to know about following concepts:
I have a model named MyModelName. I am using postgres database server and rails-3.
I want to do some task with it as mentioned below-
@ruby_variable_1 = ...
3
votes
5answers
220 views
Senior team members want to move query-relevant persistent data from DB to cache. Does this make sense?
I am a young engineer recently employed at a small company that sells products to the general public. We use Ruby On Rails and MySQL. Our database has a lot of customer data, but a great deal more of ...
2
votes
1answer
480 views
Rails application - how to optimize/reduce database calls when iterating over a collection
What's the best way to optimize a Rails app where you need to pull info from the database for a collection of items?
For example, if I am building an online forum system... I would have a number of ...
3
votes
2answers
955 views
Rails and Mongoid best way to implement sharing system
I have to model User and Board in rails using mongoid as ODM.
Each board is referenced to an user through a foreign key user_id and now I want to add the ability to share a board with other users.
...
1
vote
1answer
198 views
choosing Database and Its Design for Rails
I am having a difficulty in deciding the database & its structure.
Let us say the problem is like this.
For my product I have various customers( each is an educational institute)
Each customer ...
1
vote
3answers
391 views
Rails data model - best practices question
I'm writing a Rails cookbook app as a learning exercise. I've created a table for Recipes which holds info for the recipe (name, author, etc...). I also have a table for Ingredients which will be a ...
4
votes
3answers
356 views
How do I determine which language/framework is best for our web-based project?
I'm in the early stages of development for a web application that has three developers (myself included) working on it. The project is, at its core, a web-based database that will be used by around ...