Actually yes I have seen quite a bit on rails 2.3 but unable to use due to
FCGI not working with the extra stack.
On Tue, Mar 31, 2009 at 11:00 AM, Danimal wrote:
>
> Is this what you are looking for?
>
> http://ryandaigle.com/articles/2009/2/1/what-s-new-in-edge-rails-nested-attributes
>
> -Dani
No, I have to run 2.1.0 due to fcgi on windows.
On Tue, Mar 31, 2009 at 11:00 AM, Danimal wrote:
>
> Is this what you are looking for?
>
> http://ryandaigle.com/articles/2009/2/1/what-s-new-in-edge-rails-nested-attributes
>
> -Danimal
>
> On Mar 29, 9:24 pm, Me wrote:
> > Anyone? Am I includin
Is this what you are looking for?
http://ryandaigle.com/articles/2009/2/1/what-s-new-in-edge-rails-nested-attributes
-Danimal
On Mar 29, 9:24 pm, Me wrote:
> Anyone? Am I including enough info?
>
> On Mar 27, 10:41 pm, Me wrote:
>
> > I have a form that has an inline contact creation form to
Anyone? Am I including enough info?
On Mar 27, 10:41 pm, Me wrote:
> I have a form that has an inline contact creation form to create a
> contact that will be associated to the form. How do I make it so when
> the from is submitted I can associate the contact to the form without
> doing a buil
On Oct 21, 11:12 am, Scott <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have two many-to-many relationships modeled like so:
>
> - a Company has many Users
> - a User has many Bugs
>
> The Company model has:
>
> has_many :users
>
> The User model has:
>
> belongs_to :company
> has_many :b
Scott,
I think you would have to:
-Find all users belonging to a company (@company.users.find(:all))
-Iterate through each user and add their bug count to a total
bug_count = 0
@company.users.find(:all).each do |user|
bug_count = bug_count + user.bugs.size
end
If you have a large company or
6 matches
Mail list logo