Displaying 4 results from an estimated 4 matches for "marcora".
Did you mean:
marcori
2006 May 23
6
How to list all models of an application?!?
How can I get a list of all model classes in the domain of a Rails
application (all models, both in "app/models" and in
components/somedir/model.rb)?
Thanx in advance for your precious help!
Edoardo "Dado" Marcora
2006 Mar 15
3
Self-referential join model does not work
...ore, :association_foreign_key is not accepted
as a parameter to has_many :through associations.
Does anybody have a clue of what I am doing wrong here? Or is it that Rails
1.1 does not support self-referential join models?
Thanx in advance for the help and consideration,
Edoardo "Dado" Marcora
2006 Sep 13
3
How to avoid AR confusing way of handling default values for attributes w/ :null => false
...d validate fine even if I set validates_presence_of
:email, :age in the model file. It even gets worst if one sets a
foreign key to :null => false, as it would default to 0!
Is there a way of overriding this confusing way that AR has to handle
default values???
Thanx,
Edoardo "Dado" Marcora
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send...
2006 Jan 30
1
Example on how to boost a field?
I am wondering whether one could boost certain fields (e.g., title and
keywords) to make them ''weigh'' more against searches across all fields.
I know that Document::Field has a boost attribute and that it accepts a
boost argument in the constructor (although I''ve had not much luck with
it, I am just getting back exceptions upon init w/ boost), but I was
wondering