Displaying 4 results from an estimated 4 matches for "journalentri".
Did you mean:
journalentry
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 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,
2007 Aug 22
2
Sanitize my params and the create method
If I call .create on the param structure, are the parameters being
passed to the create method automatically sanitized for me?
e.g. Journalentry.create(param[:journalentry])
Do I have to worry about any malicious scripting making its way into the
creation of the record?
Thanks.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this
2006 Jan 07
8
exposing id''d
I have been working on a small app that started with some scaffolding.
Some of my actions still have the structure where the id''s of things are
passed on the url for gets.
Whats the best way to avoid the security problems that this creates?
I am sure that there are many pages written on this topic but I guess I
have been searching for the wrong things.
Thanks
Gareth
--
Posted via