search for: associaiton

Displaying 2 results from an estimated 2 matches for "associaiton".

Did you mean: assocation
2007 Jun 23
3
has_and_belongs_to_many and dynamic find
...ser.roles << Role.find_by_name( ''registered'' ) # But this this is Fine ! @user.roles << Role.find( :first, :conditions => [''name = ?'', ''registered''] ) When using the usal find( :first) style everythign is sweet, associaiton is built and appears in DB. However when using the find_by_name association_proxy.rb throws an exception but the error I get is somewhat cryptic as it appears as if the result of find_by_name is a ''Role'' as expected : "Role expected, got Role" Chances are I''...
2012 May 15
9
help
1. Emma is performing an experiment that requires individual handling of some animals. The sizes of the animals are lognormally distributed: The natural logarithms of their sizes has a normal distribution with mean 3 and standard deviation 0.4. The time (in minutes) it takes to handle each animal is given by 10 + s · 1.5 + eε for animals with s ≤ 20 20 + s · 0.8 + eε for animals with s > 20