search for: saved_searches

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

Did you mean: saved_search
2006 May 26
0
has_and_belongs_to_many with fk constraints?
...tables of a has_and_belongs_to_many relation. Specifically, I get this error when I try and delete a model I''m using, named saved_search, which is many-to-many with neighborhoods. Any ideas? Thanks for any help. :-) -Eric Code: @saved_search.destroy Error: Mupdate or delete on "saved_searches" violates foreign key constraint "neighborhoods_saved_searches_saved_searches_saved_search_id_fk" on "neighborhoods_saved_searches" DKey (id)=(1) is still referenced from table "neighborhoods_saved_searches". Fri_triggers.c L3302 Rri_ReportViolation: DELETE FROM s...
2006 May 09
0
Passing params between actions?
I am wondering what are the rules for the availability of params in controller actions? If I redirect, are the params still available? How about when I render a different action? It doesn''t seem so... What are the best ways to pass them? I''m trying to use an ajax scaffold component with 2 actions which load different data for the component. I have an ajax scaffold component