Displaying 20 results from an estimated 300 matches similar to: "Runtime Error"
2006 Feb 14
4
Scrollbar in Autocomplete List
Hi all,
Firstly is there a way to search the archives?
Second I was wondering if there is a way to implement a scrollbar on the
list that occurs when you use autocomplete. I have some lists that are
very long so I would like to shorten them but still have all the options.
Regards,
-----------------------
Iggy Sandejas
D-Frag Solutions
http://www.dfrag.com.au
-----------------------
2006 Jul 11
6
@record.each do |record|
I''m trying to ''destroy'' a particular record of a table
>From the controller side, i''ve found a list of possible records that i
want deleted.
ie. @chart = Chart.find(:all, :conditions => ["record_id = ?",
param[''id''] ]
''id'' is passed into the controller and @chart is all the possible
records that have
2006 Jul 10
4
find()
Can some1 help me on syntax with the find() function.
I''m trying to pull up a table record, called chart, that has a
particular field specified.
ie
chart has a field called record_id, which i know. How can i find the
record that contains chart.record_id.
something like chart = Chart.find(:conditions => "record_id = :id")
this gives me an error. I''m passing
2006 Sep 15
2
Caching::Sweeper Access to Controller
Hello,
I''m running Mongrel 0.3.13.3, cluster 0.2.0, and Rails 1.1.6 and I
have a problem with a sweeper not having access to the controller
instance.
NoMethodError (undefined method `session'' for nil:NilClass):
/app/models/audit_sweeper.rb:16:in `log''
/app/models/audit_sweeper.rb:9:in `after_update''
2010 Aug 20
0
[PATCH 1/2] Implement APEI ERST feature to Xen
Implement APEI ERST feature to Xen
APEI are ACPI4.0 new features. It consists of ERST, BERT, HEST, and EINJ.
ERST is used to save fault error log to a platform persistent storage,
so that when reboot os can retrieve the error log and handle it.
This patch is used to implement ERST feature to Xen.
It consists of 3-level hierarchy: operation level, action level, and instruction level.
Instruction
2006 Jan 29
9
Specify options with habtm
Hi all
I have the following models:
class member
has_and_belongs_to_many :disc_jockeys
end
class disc_jockey
has_and_belongs_to_many :members
end
The relation table is called disc_jockeys_members and has the following
fields:
disc_jockeys_members(disc_jockey_id, member_id, status)
So far, the field status can have values like valid, invalid, locked
etc., but it is not regarded yet by
2009 Feb 18
5
fields_for and Conflicting types for parameter containers. Expected an instance of Hash but found an instance of Array.
I''m trying to use ''fields_for'' in a form. I want the same form to
support both the creation of new obejcts as well as the editing of old
ones. So - in my controller, sometimes I will pass to the form an
object that already exists in my database and has an id and other
times I will pass it a newly created instance of an object that does
not yet exist in the database and
2006 Jul 10
3
finding particular record
Hi,
I''m looking for a particular record from a view called ''charts''. The
view ''charts'' joins data from a table ''record'' and a table ''owners''.
I''m trying to pull up data from ''charts'' that lists certain data from
''record''
ie. I know i need record.id = 5. Is there a
2006 Jul 11
8
Stop updated_at from auto updating?
Hi
Is there any way to temporarily stop the updated_at field from being
updated when a record is modified with ActiveRecord?
I have a date field which is keeping track of when the record data was
last checked by my application and my app manually updates it, of course
when I do this the updated_at field is also touched making it fairly
useless for finding out when the actual data was changed
2008 Jun 24
10
Question on passing arguments inside a view.
I''m running into an issue undefined local variable or method
`directoryid'' for #<EditorialsController:0x23f1bf8>
I have two Models on a legacy database and only one controller called
editorials with two actions index and display.
I''m trying to pass in a parameter from the results of my search and
getting the above error.
Example:
two tables one is editorial the
2006 Sep 18
1
symbolic matrix elements...
Normally, I do symbolics in Maple, or Mathematica, but I'm trying to
write a simple script for students to handle some *very* simple
calculations (for other purposes) with matrix or vector elements, where
the elements are coded symbolically. What I've tried with *partial"
success is use of the tilde (~) operator. So, for example, consider a
simple vector:
test=matrix(c(~
2011 Jan 17
4
League of Legends Help
Hello,
I have an odd problem with the game League of Legends. Let me Start with my setup:
Ubuntu 10.10 x64
Wine 1.3.11
Everything is setup following this guide: http://www.leagueoflegends.com/board/showthread.php?p=4224812#post4224812
The only other additions is I did use winetricks to add d3dx10 and ie8.
When I play the game with an emulated desktop, the launcher (Adobe AIR) runs fine (except
2006 Apr 05
0
Advice needed for new versioning plugin
I''m working on a new plugin called acts_as_archived. It is based on
acts_as_versioned, but uses a different table schema and has some other
features. The table design is like so (let''s say we''re dealing with
models called Record):
records
id
archived_record_id
archived_records
id
record_id
name
date
version
etc
The main records table serves as a lookup table for
2009 Aug 04
0
Authlogic::How to access current user from within a cache sweeper?
So I''m trying to follow along in Chad Fowler''s Rails Recipes (recipe
#59, Keeping track of who did what) and I simply want to access the
current user from within my cache sweeper. Normally you just
reference @current_user but that doesn''t seem to be the case here.
In Chad''s example, he calls controller.session[:user]. What''s the
Authlogic equivalent?
2003 Jun 06
3
small office
What is the best cost effective solution for a small office:
I need 3 FXS & 2 FXO.
Can I hookup a TDM400P and 2 X100P on the same computer?
Also, I saw some IP phones for $25.99
http://www.wosmile.com/cgi-bin/view_store_item.cgi?pid=4424&sid=5&category=1
Can I use them with asterisk? will they be able to do the same as the
TDM400P?
I read that to run the conference app Meetme you
2009 Mar 26
0
assert2-0.4.6 provides assert_xhtml, an alternative to assert_select
Rubyists:
Consider the following monstrosity, coded using assert_select:
assert_select "div#logo_box img[src=/0000/0001/logo.gif][alt=My Company]"
Now, behold it rewritten to use assert_xhtml:
assert_xhtml do
div.logo_box! do
img :src => /logo.gif$/, :alt => ''My Company''
end
end
That sample contains more Ruby; it''s not just
2005 Nov 10
2
Xen 3.0 User''s Manual
Hello all. I''m the tech writer at XenSource, Inc., and I''ve been asked
to ride herd on getting the revised Xen 3.0 User''s Manual put together,
reviewed, etc. We are targeting a review draft for 11/21 and it would be
great if any significant additions or changes that any contributers
might be making could get checked in before then so the review process
can be as
2005 Jul 14
3
Cisco 7960 on Asterisk?
Hello,
I am just building my first Asterisk server.
Looking for a couple of good quality ip phones.
I like the Cisco 7960, are they easy to configure to work with Asterisk?
What are the alternatives, with a good speaker phone, and simple clean
and stylish look like the Cisco?
I appreciate your advice.
Kind regards
Michael Felder
IT Medic Australia Pty. Ltd.
P: 03 9557 2213
F: 03 9557 2214
2005 Jul 17
2
Panasonic KX-T7665 and Asterisk?
Hello,
Is it possible to connect the Panasonic KX-T7665 IP phone to Asterisk?
Kind regards
Michael Felder
IT Medic Australia Pty. Ltd.
P: 03 9557 2213
F: 03 9557 2214
M: 0419 568 217
E: Michael@ITMedic.com.au
http://www.ITMedic.com.au
Keeping your computer systems healthy.
2005 Aug 21
2
Dial Zero to get outside line?
Hello,
My asterisk currently will dial an outside number after I dial the
number and press send on the phone.
How can I get it setup so I have to press '0' for an outside line.
Kind regards
Michael Felder
IT Medic Australia Pty. Ltd.
P: 03 9557 2213
F: 03 9557 2214
M: 0419 568 217
E: Michael@ITMedic.com.au
http://www.ITMedic.com.au
Keeping your computer systems healthy.