search for: skills

Displaying 20 results from an estimated 3022 matches for "skills".

Did you mean: kills
2006 Jul 02
5
Question about setting field values for a belongs_to model
I have two tables, applicants, and skills where each applicant "has_many" skills, and each skill "belongs_to" an applicant. When I have a reference to an applicant and a (skill) id for one of their skills, I thought to update their skills by using @applicant.skills.find(id_of_skill).description = ''new desc...
2006 Feb 27
6
One to Many example... please!
Hi, I am pulling my hair out trying to work out how to put together what should be a simple app in rails. The app is to CV''s so I have a table of CV''s and each CV can have multiple skills. Skills are in a 2nd table below; CREATE TABLE cvs( id INT not null AUTO_INCREMENT PRIMARY KEY, first_name VARCHAR(30) not null, family_name VARCHAR(30) not null, email VARCHAR(200) not null, telephone varchar(20) not null, address_1 varchar(30) not null, city varchar(30) not null,...
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 skill with ID = 3 (''axemanship''). The actual SQL might be: SELECT * FROM employee, employees_skills es WHERE es.employee_id = employee.id AND es.skill_id = 3 In Rails, I figured...
2006 Mar 04
5
has_many and belongs_to example?
Hi! If i have 2 tables i.e. product and images and product has_many images, image belongs_to product - how to create _form.rhtml, new/create and edit/update methods in product controller, so in a single form i can add one product and MANY (let''s assume for now that this number is fixed) images for this product? Pleeeeease help me :) -- Posted via http://www.ruby-forum.com/.
2011 Nov 29
1
ajax question
Hello, could you please explain what''s wrong with this code: Rails 3.1.1 skills_controller.rb class SkillsController < ApplicationController # GET /skills # GET /skills.json def index @skills = Skill.all respond_to do |format| format.html # index.html.erb #format.json { render json: @skills } format.js end end end index.html.erb <...
2007 Jul 24
2
reusing partials
Might be asking a daft question or missing something obvious here as I''m a bit of noob at this, I''ve got the code below in a partial and am using it to display and attach skills to degrees which is working fine, I now need to do exactly the same thing for interests and was wondering if there is any way to pass the partial a parameter which I can then some how be used to replace the word skill in the code and reuse the partial for both, is this doable or do I just need to c...
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...
2009 Mar 08
2
Fwd: add a new queue strategy: SBR
...be useful? Bye ---------- Forwarded message ---------- From: nik600 <nik600 at gmail.com> Date: Sat, 7 Mar 2009 15:21:14 +0100 Subject: add a new queue strategy: SBR To: Asterisk Developers Mailing List <asterisk-dev at lists.digium.com> Hi to all isn't there any plan to add the Skills Based Routing strategy in queues.conf? I think that it will be enough to add an int skill to the struct member and then order the member by skill desc. Is it enough to add this type of strategy in calc_metric in app_queue.c ? thanks -- /*************/ nik600 http://www.kumbe.it -- /*******...
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...
2007 Oct 15
2
Skills Based Routing
Morning All, Has anyone here successfully implemented skills based routing within queues? The concept behind skills based routing is fairly straight forward, and I know I could do it with multiple queues, agent penalties and a bit of AGI to put the call into the right queue. However doing this is going to require the addition of several extra queues and is...
2012 Sep 02
1
回复: Which Framework will improve my Ruby Skills?
i think you should write more program . so that you can improve you ruby skills ------------------ 原始邮件 ------------------ 发件人: "ANIKET KADAM"; 发送时间: 2012年9月2日(星期天) 晚上9:52 收件人: "rubyonrails-talk"; 主题: Re: [Rails] Which Framework will improve my Ruby Skills? can you tell me which rubygems will improve my ruby skills On Sun, Sep 2, 2012 at 2:00 PM...
2009 Mar 27
4
A beginner's question
I am a new R-language user. I have set up a data frame "mydata",one of the colume of which is "skill". Now I want to select the observations whose "skill" value is equal to 1,by what command can I get it?
2012 May 17
1
Job opportunity in Beijing, China at Xian-Janssen Pharmaceutical Ltd
...Have experience with trial simulations to design and document adaptive trials and have working knowledge of Bayesian methods. Stay current with the latest statistical methodologies with focus on trial optimization, simulation and adaptive designs. • Good verbal and written communication skills, including formal presentation skills. Experience presenting to technical and lay groups at public meetings desirable. Written skills as evidenced by publication and journal articles also desirable. • Ability to successfully multi-task and work independently, under minimal supervision; exce...
2006 May 12
6
Newbie to R: would like to solve a problem
Hello, I am very new to R (read the introduction a few hours ago), but experianced in several other languages (including Scheme, C, ObjC and C++, Java and Javascript) and I was wondering how to approach this problem: I am making a training calculator for a Video Game I play. Basically, I want to calculate the probability of killing an enemy within x hits, to help determine which is the best
2005 Mar 04
3
optimization
...interests_people j, people t WHERE t.id = j.person_id AND j.interest_id = 7 ORDER BY t.id [4;35mPerson Load (0.281000) [0;37mSELECT t.*, j.* FROM interests_people j, people t WHERE t.id = j.person_id AND j.interest_id = 8 ORDER BY t.id [4;33mSkill Count (0.297000) [1;37mSELECT COUNT(*) FROM skills WHERE person_id = 1 [4;35mSkill Load (0.203000) [0;37mSELECT * FROM skills WHERE person_id = 1 [4;33mSkill Columns (0.235000) [1;37mSHOW FIELDS FROM skills [4;35mSkill Load (0.234000) [0;37mSELECT * FROM skills WHERE name = ''Ruby'' [4;33mPerson Load (0.234000) [1...
2006 Mar 04
1
validation for items in a 1 2 many
I am populating a table skills which relate to a table cv in a 1 cv to many skills relationship... I populate the skills as below; def new @session[:cv_id] = params[:id] @skill = Skill.new end def create @cv = Cv.find(@session[:cv_id]) @cv.skills << Skill.new(params[:skill]) if @cv.save...
2007 Nov 20
1
ACD functionality , Skills for agents
...nd each queue has a call in? How will it decide which call will be routed to the next available agent? Will it take the call with the longest waiting time in queue? If not how would I do this? Also can someone point me to resources for making a single queue with customer calls tagged with agent skills? What I mean is instead of having multiple queues Sales,Tech support, etc, have only a single queue with calls being tagged according to the customer's choice from IVR, so if a customer would choose SALES , the call would go into the queue with other calls but it would only be answered from ag...
2011 Oct 10
6
Ruby on Rails sqlite3 ranking
I am making a browser-based game using ruby on rails and I am having trouble implementing a ranking system for my game. Each player has five skills: intelligence, creativity, strength, charisma and technological. I want the player to have a rank for each skill. The ranking I have in place right now gives the same rank if two players have the same amount of skill. SELECT COUNT(*) AS [rank] FROM players "+ "WHERE intelligence >...
2006 Jun 21
0
how to save objects associated via has_many :through?
...to the scenario where all 3 separate objects are NEWLY created, joined and saved. Here''s how I think it would work. Please correct me where I''m wrong. # in some controller, assume a form is being passed in to fill out the # Technician and Skill objects def add_technician_with_skills @technician = Technician.new(params[:technician]) @skills = Skills.new(params[:skill]) begin @technician.add_skills(@skills) @technician.save! rescue => err # error handling end # other processing end # in technician.rb model def add_skills(skills) begin...
2006 Jun 22
0
how to save objects in a has_many :through association?
...to the scenario where all 3 separate objects are NEWLY created, joined and saved. Here''s how I think it would work. Please correct me where I''m wrong. # in some controller, assume a form is being passed in to fill out the # Technician and Skill objects def add_technician_with_skills @technician = Technician.new(params[:technician]) @skills = Skills.new(params[:skill]) begin @technician.add_skills(@skills) @technician.save! rescue => err # error handling end # other processing end # in technician.rb model def add_skills(skills) begin...