Displaying 20 results from an estimated 4000 matches similar to: "C, PHP, RoR Programmer position in Sydney"
2006 May 03
0
OO/RoR Consultant in Sydney?
People,
I am looking for a consultant in Sydney who has an established history
in OO consulting and who is also a RoR guru . . not asking for much . .
If anyone thinks they fit the bill (or know of anyone who does) let me
know.
Thanks,
Phil.
--
Philip Rhoades
Pricom Pty Limited (ACN 003 252 275 ABN 91 003 252 275)
GPO Box 3411
Sydney NSW 2001
Australia
Mobile: +61:(0)411-185-652
Fax:
2006 Jan 09
3
Scaffolding - disabling Create, Edit, Destroy for some user logins?
People,
I am using:
before_filter :login_required
in my Controllers and this works fine. For some tables I am happy to
use the output of eg:
ruby script/generate scaffold Author
but is there some way that I can disable Create, Edit, Destroy for some
user logins in the corresponding view?
Thanks,
Phil.
--
Philip Rhoades
Pricom Pty Limited (ACN 003 252 275 ABN 91 003 252 275)
GPO Box
2006 Aug 19
2
What is this relationship?
People,
If I have a table "books" and a table "comments" and if there is either
ZERO or ONE comment per book then:
- "Comment" belongs_to "Book"
but what is the relationship of "Book" to "Comment"?
Thanks,
Phil.
--
Philip Rhoades
Pricom Pty Limited (ACN 003 252 275 ABN 91 003 252 275)
GPO Box 3411
Sydney NSW 2001
Australia
2006 Apr 23
1
LoginGenerator problem after updating to FC5 and latest Rails
People,
A simple Rails app that was previously working with LoginGenerator eg:
http://localhost/library/account/signup
is now giving:
<h2>Application error</h2>Rails application failed to start properly
Other Rails apps are working OK that don''t use this LoginGenerator. I
have re-installed it with:
gem install login_generator
Anyone know what might be wrong/have
2006 Jan 06
3
Cookbook recipes eg - ordering categories in the recipe pull-down box
People,
I can order categories when looking at the categories list page but how
do I change the recipe page to list the categories in alpha order in the
recipe pull-down box?:
> <p><b>Category:</b><br>
> <select name="recipe[category_id]">
> <% @categories.each do |category| %>
> <option value="<%= category.id
2006 Apr 16
1
Design question: Years/Teams/Students
People,
I want to design a historical sports db for my old school. I think at
the moment it should be like:
A year has many teams
A team has many students
A student has one lastname, firstname and middlename
but a student can also have many teams (eg summer/winter abd over a
number of years) . .
Is there a problem with this? Doesn''t it just mean that there will be a
student table
2006 May 20
3
Repost: Pluralization of non-noun names
People,
I didn''t get an answer to this before so I am trying again:
I could change an existing "policy" table to "policies" with no drama
but the are a number of related tables ie:
p_2quot
p_addr
p_cc
p_cs
p_direct
p_div
p_exss
2006 Apr 25
2
School Years/Teams listing problem
People,
I have tables years and teams and I have the years listing like:
1965
1966
1967
.
.
I want to be able to click on the year and ONLY list teams for that
year. At first I thought the following was working until I started
populating the table with teams for more than one year.
For views/years/list.rhtml:
<% for year in @years %>
<tr>
<td>
<%= link_to
2006 Jan 18
2
categories/recipes & books/descriptions - has_many vs has_one => id question
People,
In the cookbook eg, categories has_many recipes but in a book eg, book
has_one description - doesn''t that mean that the id of the description
should be the same as the id of the book (instead of having it''s own
"description_id" in the book table?
Thanks,
Phil.
--
Philip Rhoades
Pricom Pty Limited (ACN 003 252 275 ABN 91 003 252 275)
GPO Box 3411
Sydney
2006 Jan 03
2
Scaffolding - changing number of records per page
People,
This is probably simple but I couldn''t find where to change the default
10 records per page for scaffolding . .
Thanks,
Phil.
--
Philip Rhoades
Pricom Pty Limited (ACN 003 252 275 ABN 91 003 252 275)
GPO Box 3411
Sydney NSW 2001
Australia
Mobile: +61:(0)411-185-652
Fax: +61:(0)2-8221-9599
E-mail: phil@pricom.com.au
2006 May 12
2
Pluralization of non-noun names
People,
I have an insurance company client and for the last eleven years I have
wanted to completely redevelop their system from scratch. However, the
boss has never been interested in hiring a team to develop the new
system (partly because of the cost and partly because of some famous and
expensive development failures in the industry) and has always insisted
on incremental development of the
2006 Jan 09
1
Moving ROOT_RAILS ?
People,
I have been going OK making my library app in:
/home/phil/src/ror/library
and using WeBrick to work on it. Now that I have got it into a
satisfactory state I want to move it to:
/var/www/html/library
and use Apache but there seem to be problems . .
I have this at the end of httpd.conf:
Alias /library/ "/var/www/html/library/public/"
Alias /library
2006 Jan 05
1
recipes/categories to books/authors but listing doesn''t work
People,
I have gone through the cookbook example:
http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html?page=1
and everything worked fine an a FC4/Postgres setup.
I then tried to reproduce this success with something that would be
useful to me - a library db using books & authors tables. The author
list works but NOT the book list (unless I take line #17 out).
I get this message:
2006 Jun 13
0
Moving from a development to a production environment Qs
People,
I have done a few little RoR apps and have struggled to move them from
the WeBrick development environment to a production environment - I have
actually succeeded but what I have done seems clumsy so I must be
missing some things, eg:
In public/.htaccess
RewriteBase /library
In app/views/layout/*.rhtml change:
<li><a href="/library">Home page</a>
2006 Jan 09
1
Modifying script generated scaffold output Books/Authors
People,
For my little book library db I find the rails script generated stuff
fine for most of my needs but there is one thing I couldn''t figure
out . .
Part of the auto output of app/view/books/edit.rhtml is:
<%= start_form_tag :action => ''update'', :id => @book %>
<%= render :partial => ''form'' %>
<%= submit_tag
2006 Jan 06
3
Using DIV tags in HTML - a better Ruby/Rails way?
People,
I can use a DIV tag for exact positioning of fields on a form:
Creating a DIV tag creates a layer.
The DIV tag contains a style attribute with positioning information. It
might also have border and size information, if appropriate.
Here is the basic DIV tag required for exact positioning:
<div
style="
top: 99;
left: 99;
position: absolute;
2008 Jun 20
2
Using metric units in plots
People,
It appears that one has to use Imperial measurements in plot parameters?
I can't find any info on using metric units . .
Thanks,
Phil.
--
Philip Rhoades
Pricom Pty Limited (ACN 003 252 275 ABN 91 003 252 275)
GPO Box 3411
Sydney NSW 2001
Australia
E-mail: phil at pricom.com.au
2005 Dec 28
3
Strange result when backing up /etc vs /root
People,
My backup script has lines:
dt=`date ''+%Y%m%d''`
.
.
DELETE="--delete"
.
.
rsync -av $DELETE --backup --backup-dir /delmod/$dt /etc /backup/
rsync -av $DELETE --backup --backup-dir /delmod/$dt /root /backup/
- only the changes to /root get backed up but ALL of /etc gets backed up
everytime! - why should this happen?
Thanks,
Phil.
--
Philip Rhoades
2003 Sep 04
1
Allelic Differentiation, sampling, unique(), duplicated()
Hi people,
I have made some progress trying to work out how to solve this problem
but I have got a bit stuck - sorry if this turns out to be a simple
exercise . .
Allelic Differentiation (AD) in genetics measures the number of
different alleles between (say) two populations eg:
Organisms in Pop 1 have alleles: a, b, c, d, e
Organisms in Pop 2 have alleles: b, b, c, d, e
Different
2002 Nov 15
2
Why no colSDs etc
Hi people,
If there is a fn "colMeans" why isn't there a "colSDs" etc
Thanks,
Phil.
--
Philip Rhoades
Pricom Pty Limited (ACN 003 252 275)
GPO Box 3411
Sydney NSW 2001
Australia
Mobile: +61:0411-185-652
Fax: +61:2:8923-5363
E-mail: pri at chu.com.au
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read