search for: _missing

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

Did you mean: missing
2007 Apr 06
3
@ vs self in models?
i''ve seen both of these syntaxes before and have also used both in my own models: class Foo def get_bar @bar end end and class Foo def get_bar self.bar end end seemingly with no difference... i''m a nuby though so could anyone enlighten me to the differences if there are any? thanks, jeff --~--~---------~--~----~------------~-------~--~----~ You received
2006 Jun 30
0
Three ActiveRecord features we want at work - any comments/suggestions?
...de into every query you write!), given any particular record you can''t say why a certain bit of information is missing. The solution I like is to store the optional information in two satellite tables per attribute, eg: SurveyResults_Name: { survey_result_id, name } SurveyResults_Name_Missing: { survey_result_id, reason } reason could be a id or a string, I haven''t decided which one I prefer yet. (Reason could be pretty much anything - ''unknown'', ''not_provided'', ''deleted_data_protection_act'', ''requested_delete...