[Rails] Dumb MySql Database from Parent to child

2011-06-25 Thread News Aanad
Hi, I am creating such an application in which there is multipal servers. Now there is parent server which has multipal child server . My original data is in parent server's database. My problem is I want to dump all the data from parent database to child database. How would i do this? My

[Rails] Re: Social Networking

2011-06-25 Thread sukesh
TRY MY SOCIAL NETWORKING WEBSITE named DEVOLVE - social networking website for developers. Code is available on http://github.com/devolve/devolve. On Jun 24, 11:16 am, Sayuj Othayoth sayujothay...@gmail.com wrote: Hi, I want to create a family website which includes social networking

[Rails] Fun With Time Zones Rails 2.3.8

2011-06-25 Thread Ants Pants
Hello everyone, A user enters the time of an event and the time zone of the event. Before validation in the model, I set the zone of the time entered to the one chosen (only changing the zone, not the time) self.starts_at.zone = time_zone extending ActiveSupport thus ... module ActiveSupport

[Rails] High volume photo resizing - best approach

2011-06-25 Thread Pardeep
Hi, does anyone have experience with or could recommend: 1. The best approach to build an app for uploading and resizing a high volume of photos contributed by users. 2. An uploader to allow users to upload multiple photos at a time vs one at a time. 3. Best image processor. I've been told by a

[Rails] Re: instantiating object and passing a new array into the block

2011-06-25 Thread Frederick Cheung
On Jun 24, 7:42 pm, John Merlino stoici...@aol.com wrote: Hey all, Out of curiousity, all in Rails grabs all the records and converts them into an array. Map then iterates through the returned array, returning a new array. So why even use map here? And then the array gets passed as local

[Rails] recommendation for gem to do parallel http requests?

2011-06-25 Thread Adrian Caceres
I want to issue http requests in parallel to a restful service. Looking for a gem to bind to curl multi or something similar. Any suggestions? thanks adrian -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send

Re: [Rails] Help with railroad

2011-06-25 Thread Leoncio Caminha
do you install the graphviz? is needed for generate the diagrams, linux or mac your OS? Em 24/06/2011, às 22:03, Rodrigo Ruiz escreveu: Ya, actually I do need a class diagram for controllers and models. How can I use that railroady? On Sun, Jun 12, 2011 at 11:32 AM, Quaternion

Re: [Rails] Help with railroad

2011-06-25 Thread Leoncio Caminha
other mode for generate models in rails is http://rails-erd.rubyforge.org/, very simple and require too graphviz, much easer Em 24/06/2011, às 22:03, Rodrigo Ruiz escreveu: Ya, actually I do need a class diagram for controllers and models. How can I use that railroady? On Sun, Jun 12, 2011

[Rails] How to get correct index and name with fields_for parents[], parent do |f| and f.fields_for :children, child

2011-06-25 Thread Anatortoise
Hi, I'm editing multiple instances of a parent model in an index view in one form, as in Railscasts #198. Each parent has_many :children and accepts_nested_attributes_for :children, as in Railscasts #196 and #197 %= form_tag % % for parent in @parents % %= fields_for parents[], parent do

[Rails] Re: recommendation for gem to do parallel http requests?

2011-06-25 Thread Frederick Cheung
On Jun 25, 1:05 am, Adrian Caceres cacere...@gmail.com wrote: I want to issue http requests in parallel to a restful service.  Looking for a gem to bind to curl multi or something similar. Any suggestions? Sounds like typhoeus might do the trick. Fred thanks adrian -- You received this

Re: [Rails] Dumb MySql Database from Parent to child

2011-06-25 Thread Walter Lee Davis
On Jun 25, 2011, at 2:37 AM, News Aanad wrote: Hi, I am creating such an application in which there is multipal servers. Now there is parent server which has multipal child server . My original data is in parent server's database. My problem is I want to dump all the data from parent

[Rails] has_many how to not create object without child?

2011-06-25 Thread Mauro
I have Shop has_many documents. I do not want create a Shop without almost one document associated. That is: now I can do shop=Shop.create(.) and shop.documents is [], instead I don't want the possibility to create a shop without almost one document. How can I do this? -- You received this

[Rails] Re: Dumb MySql Database from Parent to child

2011-06-25 Thread gdakram
This link ought to help you quite a bit, as it did for me when I had to set up replication servers: http://dev.mysql.com/doc/refman/5.0/en/replication.html Good luck. On Jun 25, 2:37 am, News Aanad news.anan...@gmail.com wrote: Hi, I am creating such an application in which there is multipal

[Rails] PDFKit

2011-06-25 Thread leoncio caminha
anyone uses a PDFKit to generate pdfs in rails? how i transform my PDFKit.new(pHello Brazil/p) into a pdf file? i`d try but i dont find anything about documentation how use a methods for generate pdfs, any help? thanks a lot Leo Caminha -- You received this message because you are subscribed to