search for: vpsheth

Displaying 5 results from an estimated 5 matches for "vpsheth".

Did you mean: ipheth
2005 Dec 29
2
has_many & belongs_to with Plugins (login_engine)
Hello list, Probably a newbie question but couldn''t find the answer in the archives. I am using the login_engine Plugin to implement the login functionality. I have a JournalEntry model that interacts with the journal_entries table. I would like to link the journal entries to the user who entered it. Essentially, it is a one to many relationship between the model User(from
2006 May 19
2
Doing and storing a Writeboard like diff in RoR
Hello all, Anyone have any suggestions on how I could do and display a diffed piece of text in a style similar to Writeboard (strikeouts etc.) Q1) Are there any ruby gems for diff? Q2) How would I represent the diffed text in styled HTML? If there are existing tools, any ideas on how I could write this? Thanks, Vaishal -------------- next part -------------- An HTML attachment was scrubbed...
2006 Apr 06
4
Record retrieval in Many-to-many using :through not working
Hello, I get an error while retrieving records from the following model structure. Tables foods - id, food foodallergies - food_id, symptom_id, a few other columns symptoms - id, symptom Models class Food < ActiveRecord::Base has_many :foodallergies has_many :symptoms, :through => :foodallergies end class Symptom < ActiveRecord::Base has_many :foodallergies has_many :foods,
2006 Mar 28
1
acts_as_taggable plugin to tag multiple fields in a model
Hello, Is it possible to tag multiple fields in a model using either acts_as_taggable plugin or gem? If it is not possible out of the box, can anyone provide pointers on how I would achieve something like that? Say I have a ''Food'' model which has ''spices'' and ''healthiness'' attributes. I want to be able to tag on both those fields. Is that
2006 Apr 04
4
Help with many-to-many using :through
I am using many-to-many using :through since I need to store additional information in the join table. I am doing this and it seems to work. I want to verify that this is the best way to do this. Tables foods - id, food foodallergies - food_id, symptom_id, a few other columns symptoms - id, symptom Models class Food < ActiveRecord::Base has_many :foodallergies has_many :symptoms,