Displaying 20 results from an estimated 100 matches similar to: "Oracle HR on Rails"
2011 Mar 25
2
[RFC PATCH 2/3] AMD IOMMU: Implement p2m sharing
--
Advanced Micro Devices GmbH
Sitz: Dornach, Gemeinde Aschheim,
Landkreis München Registergericht München,
HRB Nr. 43632
WEEE-Reg-Nr: DE 12919551
Geschäftsführer:
Alberto Bozzo, Andrew Bowd
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2006 Feb 14
6
Multiple associations to the same class
Hi,
I cannot seem to create associations like this:
class Project < ActiveRecord::Base
belongs_to :manager, :class_name => ''User'', :foreign_key => ''manager''
belongs_to :liaison, :class_name => ''User'', :foreign_key => ''liaison''
end
p = Project.new
p.manager
=> 1
trying to retrieve associated objects
2005 Feb 09
1
cant map foreign key in list view
Hi
I have been struggling to get a foreign key in a list map to a readable
value in a lookup table
I have a list of projects and each project has a project_manager.
Project.rb
class Project < ActiveRecord::Base
has_one :project_manager, :class_name => "Users", :foreign_key =>
"manager_id"
end
The association above sais that a project_manager is in
2013 Mar 07
2
Puppet Dashboard changed reports view error
Hello Puppet Users !
We encounter a problem with the dashboard on this URI : /reports/changed
The /reports works fine with ~130000 reports (up to 3 months and
auto-cleaning with rake reports:prune job)
I make a reports:prune:orphaned, juste in case, but without any success.
The most recent change on the server was the puppetmaster upgrade from
3.0.2 to 3.1.0.
Here is the dashboard error log
2006 Feb 09
2
Crazy @55 Inheritance
I have one table, called "people".
Within this table, there are type "users", "managers".... etc. So, basic
STI.
Now, I want a "user" to have one manager, but a "manager" to have many
"users".
Since I don''t want to use HABTM... how do I set this relationship up seeing
that :has_one, :belongs_to and :has_many don''t
2006 Mar 14
2
noob question about find()??
could anyone tell me why this doesn''t work???
<%= select(:schedule, :employee_name, Employee.find(:all, :order =>
''last_name ASC'').collect {|p| [p.first_name, p.last_name] }, {
:include_blank => ''true'' }) %></p>
i mean it works half way, only the first name is displayed..
i''ve been at it for a while now.. the answer is
2006 Jan 09
3
Include with two references of one model of the same table
Hey guys,
I just came across this oddity, not sure what to make of it yet, but
I think it might be incorrect behavior. When doing a @inst.find(:all,
:include => ["hometeam", "awayteam"] ...) hometeam and awayteam are two
references from a belongs_to that is of the same model and of the same
table. I will get a pgerror stating that "matches", which is
2006 Feb 10
1
Eager loading issue
I have three tables, Invoices, Projects, and Managers.
Each manager has many projects. Each project has many invoices.
When displaying a list of the invoices, I am using:
Invoice.find(:all, :include => [:project])
Since the list shows information from the project table. (For
example, a table showing Invoice Date, Project Name). However, I''d
also like to show the manager name.
2012 Sep 24
4
samba4: samba-tool and (unix) uids
Hello,
at my universities CS computer pools we're trying to migrate our
samba3 based NT domain to AD with samba4-rc1.
In the past we had a little script which our users could run on their
own from their linux account which created a samba user with
their own uid/gid and set their password (via smbpasswd).
We're trying to recreate this behaviour with "samba-tool user create"
2006 Mar 12
3
Newbie: using find like a sql join query
I have a working Rails app with several related tables, but can''t find
an answer to this question in the Dave Thomas Rails book. Imagine for
example:
table departments with columns: id, department_name
table employees with columns: id, department_id, employee_name
and of course the employees table has a constraint foreign key
(department_id) references departments(id)
So this is
2009 Jul 21
1
synatx error while running migration
hello to all,
i am getting weird syntax error while running the rake db:migrate
syntax error, unexpected tSYMBEG, expecting kDO or ''{'' or ''(''
Apparently i am creating an engine in my main application using
''ruby script/generate plugin'' command in rails 2.3.0 with engine having
its own separate database define in database.yml of main
2006 Mar 01
1
Eager loading problem. Help greately appreciated
Each Timesheet has an employee. An employee has a division and a
location.
I want to find all the timesheets with a status of 2. I then iterate
over the timesheet collection and print the timesheet name, employee
name, employee divison name, and employee location name. Like so:
for t in
Timesheet.find(:all,:conditions=>"status=2",:include=>:employee)
puts timesheet.date
2006 Sep 25
3
Subclasses - help required
Hello all and hoping for some insight
a project manger type of application, staff are assigned to projects,
but each staff has varied roles for different projects... STI does not
seem to be applicable here
Imagine a table staffs...
id int
name varchar
blah....
is_manager int 1
is_engineer int 1
is_producer int 1
and projects...
id
name
manager_id
engineer_id
producer_id
how is the best way
2010 May 26
1
Samba4 Patch: newuseradv and newgroupadv scripts for net cmd utlity
Hi all,
As per Jelmer's request - in response to bug #7455 attached diff file.
Please let me know what you think and if any modificationes need to be
performed
Regards
Luk
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: newusergroupadv.diff
URL:
2007 Nov 16
9
Challenge
The original:
http://pastie.textmate.org/private/lqvrlyyvkv2kbugoxtiz6w
Send your submissions to me by email or on #merb. I''ll blog it, and
pick a winner. The winner does not mean it makes it into Merb, just
means I personally like it best.
But it might make it into Merb.
# Scenario:
# You have a simple application that lists all the monkeys at the zoo.
# Every monkey has a
2012 Dec 18
1
Arel limit Where if fields are present
I trying to create a select using Arel but I''m passing three parameters, I
want to include the parameters only if they are different to nil or blank.
Here is my method:
def self.advsearch(summary_description, specialties, place)
User.joins(:experience,:summary,:information)
.where(Information.arel_table[:business].eq(false))
2010 Feb 01
0
Payroll cum HR management application
Hi
Could anyone please suggest a good Payroll cum HR management open
source rails application?
Thanks
Tom
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this
2009 Nov 04
1
Convert H:MM:SS PM /AM into 24 HR syntax
I've got an array of times in H:MM:SS PM/AM format, e.g. "5:27:15 PM" (no leading zero), and I would like to convert them over to 24 HR syntax, e.g. HH:MM:SS.
If it matters, the times are from the Central Time zone.
Is there a command to convert the time to a 24HR format?
I tried the following:
ptime("5:27:15 PM", "%H:%M:%S")
[1] "2009-11-04
2008 May 09
0
$80/hr - rails developer and mentor + active scaffold
$80/hr - rails developer and mentor + active scaffold
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
2010 Dec 20
1
HR software use LDAP authentication
Hi , all :
Is there any HR management software which used the LDAP authentication
method in the linux?
I used the orangeHRM tool , but found it did not have the LDAP
authentication .
So would anyone can give me some suggestions ? Thanks in advance.....
-------------- next part --------------
An HTML attachment was scrubbed...
URL: