Displaying 17 results from an estimated 17 matches for "fkeys".
Did you mean:
keys
2011 Apr 01
0
[GIT PULL] elflink cmdline
Hi,
The following patches are just copying some functionality that exists
in the asm cmdline code into the C version. There's still a few more
things to do but we're getting there.
The following changes since commit 8c576f1fe03e34879921311f46613a35c6530000:
Merge remote-tracking branch 'mfleming/for-hpa/elflink/fix-compiler-warnings' into elflink (2011-03-16 12:53:58 -0700)
2006 Feb 20
0
Override automatic accessor for reference field in model
When a column in a database table is actual data, rather than an fkey to
another table, I can override the automatic accessor by just doing the
following:
def field_name
# do something here
read_attribute(field_name)
end
This does not seem to work for me if the field is an fkey, say user_id,
linking to another table. I''ve made this work by aliasing the accessor
like this:
alias
2006 Jan 09
1
Newbie Question. I''m dumb with forms and foreign keys
For some reason I am just not able to get this.
I am trying to setup an organizational hierarchy, so I have a
organization which works fine. From there I want to be able to define
new divisions, departments, areas, etc.
For creating a Division, my original thought was to pass the
organization''s id to the new organization unit form, and then do a
Division.new(:organization_id =>
2006 Oct 25
0
has_one & foreign_key - generating bad SQL
- MODEL -
class Document < ActiveRecord::Base
has_one :user,
:class_name => "User",
:foreign_key => "fkey",
:conditions => "user = ''NAME''"
end
- GENERATED SQL (per the .log) -
SELECT FIRST 1 * FROM table_name WHERE (table_name.fkey IS NULL AND
(user_id = ''NAME''))
What I can''t figure out is
2005 Mar 09
1
Slightly OT - Snom 190 function keys via subscribed config
Hi All,
I realise this is off topic, but its likely the best place to ask!
I sent an email to snom support a few days ago but have yet to recieve a
response..
Perhaps some one has found a solution to this problem already? I've searched
the mailing lists and google and found nothing useful. I've also read
Snom's mass deployment
documentation but thats no real help in this case.
2006 Feb 17
0
Model relationships in tests
...s between tables/classes.
For example, I might have something like this:
vehicle.yml
red_ford:
id:1
owner_id:2
owner.yml
ford_owner:
id:2
address_id:5
address.yml
home_address:
id:5
etc.
To build up complex test relations, I have to edit all three files,
keeping track of the ids / fkeys for each test case. I''ve thought about
skipping foreign keys altogether in the fixtures and creating the
relations programmatically in the test, or possibly writing a custom
fixture generator of some sort. I know I could create the relations in
the db one way or the other and expor...
2006 Feb 19
0
Handling nil attributes in views
The problem at hand is how to handle missing (but not required) refs to
other objects when working in a view (that was not clear - gimme a
minute:-). There has been some discussion of this on the wiki, but I was
wondering what others thought about handling this.
I have class A that belongs_to class B, and I want to display an
attribute of B in the view, so I do something like the following:
2005 Nov 28
1
has_one / HABTM relationship overlap - please advise
1. I have a few tables: ''users'', ''shops'', ''addresses'', and ''pictures''.
2. Users and Shops will both use the addresses and pictures tables. I have
created several mapping tables:
addresses_shops
pictures_shops
addresses_users
pictures_users
3. Users CAN have many addresses and pictures (simple HABTM), but...
4.
2007 Oct 01
1
Patch to add option-key menus (similar to SuSE patch)
I've written a patch to add option-key submenus to menu.c32 and
vesamenu.c32 for doing things like changing the video mode. This was
inspired the the patch that SuSE applies to the syslinux family and
Grub, without the ugly pseudo-PostScript spaghetti.
The patch may be found at
http://www.valleyhold.org/~gordons/syslinux-optmenus.diff (it's over
30K, so posting it here didn't seem
2008 Jan 02
4
Lamps on Snom phones
Hello
Happy New Year to all!!
I've just completed porting from Asterisk 1.2 to 1.4. I did this by
doing a clean install on a new box, and moving over configuration and
scripts where needed. All went surprisingly well!
Anyway, one lingering issue is that the function key "lamps" on our Snom
phones have all stopped working! We're using a mix of Snom 290/320/360
phones and
2007 Oct 18
0
18 commits - doc/swfdec-sections.txt libswfdec/Makefile.am libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_event.c libswfdec/swfdec_event.h libswfdec/swfdec_flash_security.c
doc/swfdec-sections.txt | 1
libswfdec/Makefile.am | 4
libswfdec/swfdec_as_interpret.c | 24 +-
libswfdec/swfdec_as_strings.c | 1
libswfdec/swfdec_button_movie.c | 3
libswfdec/swfdec_event.c | 5
libswfdec/swfdec_event.h | 2
libswfdec/swfdec_flash_security.c | 95 ++++++----
2011 Apr 16
20
[PATCH 00/20] Switch to ELF modules
From: Matt Fleming <matt.fleming at linux.intel.com>
This series fixes some bugs and switches the elflink branch to be
entirely ELF modules. It applies on top of,
http://syslinux.zytor.com/archives/2011-April/016369.html
The deletions in the diff stat below are mainly from deleting
com32/elflink/modules (finally!). Now there should be no duplicate
code because we don't need COM32 and
2008 Mar 19
6
Hardphone SIP phone costs
I'm trying to understand something that just doesn't seem to compute.
How can companies like Cisco justify selling their hard phones for as
much as they do? I know there is a matter of recouping R&D costs but
when you look at the iPhone with all its amazing features for less than
$500.00 it just doesn't make sense. Am I the only one that thinks this?
Roy Anciso
Director of
2007 Oct 17
0
28 commits - configure.ac debian/changelog debian/control debian/copyright debian/.gitignore debian/libswfdec0.dirs debian/libswfdec0.files debian/libswfdec0.shlibs debian/libswfdec-dev.dirs debian/libswfdec-dev.files debian/rules debian/swf-player.dirs
Makefile.am | 1
configure.ac | 1
debian/.gitignore | 1
debian/changelog | 54 -----------
debian/control | 36 -------
debian/copyright | 10 --
debian/libswfdec-dev.dirs | 2
debian/libswfdec-dev.files | 5 -
2006 Mar 24
8
Snom 360 problems
Anyone have a Snom they're happy with? How did you manage that? :)
I have a system of:
Asterisk 1.2.3
2 Wildcard TDM400P Rev I and E/F
1 Snom 360 + sidecar
~15 Sipura/Linsys SPA-841
~15 Grandstream 101
Everything (currently) is on the same network, not a router to be seen
between any two. Also everything, except the snom, is working sweetly.
The main problem is ECHO.. awful echo and
2008 Mar 08
9
Validation error handling on related models
I have 2 models, entity and client. Entity has_one client and client
belongs_to entity.
Entity has attributes name and legal_name. Entity also has an unique
index on (lower(name)). The pKey for both is the conventional Rails id.
Client has a fKey constraint on entity_id and is indexed in entity_id.
In controllers/clients_controller.rb I have:
# GET /clients/new
# GET /clients/new.xml
2007 Feb 26
24
Ruby/rails port of Cocoon/hibernate
Hi,
I''m currently running an apache/jboss cocoon/flow/hibernate/ajax
paypal (directpayment) project and am looking into the possibility of
porting it across to ruby/rails. For that reason I would like to know
the following:
1. Can I call my java classes or would I be looking at a complete
rewrite in ruby?
2. How effective is ruby in terms of seperation of concerns regarding
design from