Re: [Rails] Re: Need help putting together a rails workflow diagram

2013-05-31 Thread 3dd13
When u say u need a workflow diagram, I assume u are talking about the data flow or communication sequence So to help u solve this problem, one hint is u have to illustrate how the components talks to each other when there is a http request coming in For example, in the case of "user wants to cre

Re: [Rails] Need help putting together a workflow diagram

2013-05-31 Thread 3dd13
Sorry not to tell u the answer directly Do u know what are they and what each of them does ? On Friday, May 31, 2013, Seth F. wrote: > Hey Guys > > I'm very new to rails and the development environment so please bear > with me :) > I'm interning at a company and have been tasked with doing a 1-p

Re: [Rails] private 'new' method???

2012-02-24 Thread 3dd13
was that Post actually actionmailer class? saw ur exception coming from action mailer ? i cannot check now, only hv my mobile with me. On Feb 24, 2012 6:59 PM, "Bruno Meira" wrote: > There isn't any private or protected modifier in my class. How can I know > if something is monkeypatching my cl

Re: [Rails] Question About Incremental and Ongoing Seeding of Database Throughout Application Life Cycle

2012-02-24 Thread 3dd13
one option: - build rake task to import data - and use schedular or background job to run it regularly On Feb 24, 2012 8:18 AM, "Frank Guerino" wrote:a > > Hi, > > I have a question about how best to handle "ongoing" and "incremental" > seeding of a database, after the application is built. > > S

Re: [Rails] Disable "find" (in favor of find_each)

2012-02-24 Thread 3dd13
use MyModel.methods.grep could catch this On Feb 24, 2012 10:01 AM, "John Hinnegan" wrote: > > I have a table that is large, and I work for a growing company. We will use find_each or find_each_in_batches, but as our code base grows and the number of hands touching the code increases, I'm conce

Re: [Rails] error of "undefined method `each' for #"

2011-06-10 Thread 3dd13
you exectued people.all.first so the @user only has one picture object instead of an array of pictures 2011/6/10 joanne > hi all, > > I have an error "undefined method `each' for #" > what is that mean? > > in my view > [code] > > <% @user.each do |p| %> > <%= p.image %> > <% end %> > > [/code