Displaying 5 results from an estimated 5 matches for "skill_ids".
Did you mean:
skill_id
2006 May 20
3
In a find, can''t you use both :include and :limit ?
I''m trying to do a find that includes a join. It has to be a find
because I''m using the results for a Pagination, so I need to limit my
query to the number of results I want to display per page.
Here''s the type of thing I want to do:
Employee table <-> Skills_Employees table <-> Skills table
Let''s say I want to find all the employees who have
2008 Jan 12
1
Collection_Select not showing Selected option
Hi, I''m having some problem with getting collection_select to return
the current value when editing a record. According to everything I''ve
seen, there was an issue but it''s been fixed, but I can''t figure out
why it isn''t returning the current value as a selected option. I''ve
checked the table structures, and both the call_driver.product_line_id
2006 Jun 11
2
HABTM Duplicates?
Hello all,
I''m working on a small Rails site for a game I play that will
be used to add new characters. Part of this addition process is choosing what
skills the character will have. For this, in MySQL, I have a characters table
and a skills table, as well as a characters_skills table that is used as the
join table in the habtm relationship between the two. I am presenting the
skills in
2008 Jan 08
1
Need input on DB/table design
I''m building a site.. Dah!! and it requires different skills for
different jobs in different states. the site will start off in only
one state but I want to make sure I''m ready for many states. I''m
thinking of a generic skills table with columns skill1 .... skillN.
then another table with columns state, job type, skill name, skill
column mapping to the column in the
2006 Mar 29
2
delete_all not resetting auto incement in database
Hey
I''m writing a simple admin interface thats reading user data (skills)
from a comma separated file.
To clear the database before inserting new skills, I use
Skill.delete_all
Then I insert the new values I read from a file. Everything goes well
up to the point where I see that auto-generated ID''s are not starting
from 1. They start off at 840 (responding to the number of