Re: [Rails] one database multiple sites

2017-03-13 Thread fugee ohu
On Monday, March 13, 2017 at 7:51:03 PM UTC-4, Walter Lee Davis wrote: > > There are a number of different ways you can manage this. One popular > approach is to use the Apartment gem to create what is known as the > "multi-tenant" database pattern. See if that term gets you closer to what > y

Re: [Rails] one database multiple sites

2017-03-13 Thread fugee ohu
On Monday, March 13, 2017 at 7:51:03 PM UTC-4, Walter Lee Davis wrote: > > There are a number of different ways you can manage this. One popular > approach is to use the Apartment gem to create what is known as the > "multi-tenant" database pattern. See if that term gets you closer to what > yo

Re: [Rails] one database multiple sites

2017-03-13 Thread Walter Lee Davis
There are a number of different ways you can manage this. One popular approach is to use the Apartment gem to create what is known as the "multi-tenant" database pattern. See if that term gets you closer to what your are looking for. One database (or at least one schema) per site is the usual me

[Rails] how do i let multiple apps update the same database

2017-03-13 Thread fugee ohu
I have two apps that i want to share a common database but also each app needs it's own database (i guess) how shall i proceed or what should i read? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop

[Rails] one database multiple sites

2017-03-13 Thread fugee ohu
i have the idea to use the same database for multiple sites but i guess each site needs it's own database in addition? Anyone can guide me? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receivin

[Rails] Re: File System Monitoring in Rails 5

2017-03-13 Thread amree
My question is mainly whether this is a feature or a bug. I'm just trying to understand how Rails works because the output that I shown was from default rails installation. If you did that you would receive more notifications, for example the log > folder, the tmp folder and so on (although I d

[Rails] Re: File System Monitoring in Rails 5

2017-03-13 Thread Frederick Cheung
On Monday, March 13, 2017 at 7:29:03 AM UTC, amree wrote: > Hi > > > When we started rails server with Rails 5, we'll start fsevent_watch to watch > for changes in our application directory. My questions are: > > > * Why are we also watching for the locale directory for the loaded gems? I sus

[Rails] File System Monitoring in Rails 5

2017-03-13 Thread amree
Hi When we started rails server with Rails 5, we'll start fsevent_watch to watch for changes in our application directory. My questions are: * Why are we also watching for the locale directory for the loaded gems? * Why can't we just watch the top level directory instead of watching the subdire