Displaying 20 results from an estimated 100 matches similar to: "inheritance problem with controllers"
2000 Jan 04
0
Stepwise logistic discrimination - II
I apologise for writing again about the problem with using stepAIC +
multinom, but I think the reason why I had it in the first place is
perhaps there may be a bug in either stepAIC or multinom.
Just to repeat the problem, I have 126 variables and 99 cases. I don't
know if the large number of variables could be the problem. Of couse the
reason for doing a stepwise method is to reduce this
2006 Jan 17
9
Formatting a float with a set number of decimals
Another newbie question:
How do i convert a float to a string, rounded to a certain number of
decimals?
Thanks
--
Posted via http://www.ruby-forum.com/.
2006 Apr 07
1
Help... Ajax scaffold problems
Hi all,
Any help is appreciated. I used the ajax scaffold generator to make 3
scaffoldings. Then I put them together as components in a combined layout
and created a master controller, which happens to be named "dataentry''.
That works fine.
Within each of the components, I was able to set up links that paginate and
update the div (for the component) with correctly paginated
2006 Feb 20
2
Problem with flash[:notice] appearing twice
In my save function in my (ajax!!!) controller, i''ve got a bit like
this:
if ...
flash[:notice] = ''NOT SAVED: This month is locked''
render :partial => ''edit''
else
save it...
redirect to ''show'' action....
...
If i try to save an entry for a locked month, it correctly brings me
back to
my edit action with the
2006 Jan 17
2
How to run direct sql
How can i run and get the value from the following sql:
select avg(my_field) from my_table where which_year=''0506'' and
which_week <= 21 and my_foreign_key_id=10
cheers
--
Posted via http://www.ruby-forum.com/.
2006 Jul 26
7
Delete_all causes a deadlock on MSSQL database ???
Hi all,
When i use the ''delete_all'' function to remove a few rows from my
database, it causes a deadlock on the sql server. The delete seems to be
successful, it then redirects to the ''view'' page, and the record does
appear to be deleted as far as the ''view'' rails page shows.
BUT if i go into sql query analyser, i can''t do a
2005 Dec 19
3
Trying to make an app helper
Any ideas with fixing this? Doesn''t work properly, although it doesn''t
throw any runtime errors.
# Methods added to this helper will be available to all templates in the
application.
module ApplicationHelper
def options_for_months(selected_month)
2005 Dec 19
3
Where to put code - app controller, or app helper?
I have a function i want to be used in both views and controllers:
def year_to_fiscal_year(year)
# converts, say, an integer 2003 into ''0304''
year.to_s[2,2] << (year+1).to_s[2,2]
end
Where should i put it ?
--
Posted via http://www.ruby-forum.com/.
2005 Dec 20
2
Designing a data-entry screen
Here''s what i''m trying to do:
Have 3 dropdowns up the top of a page, being: year, month, department,
and group. Also a button underneath that called refresh.
When you click refresh, it finds the 1 row of data from the database for
that year/month/dept/group and populates the fields into a set of
textboxes below.
Then you can edit what is in those textboxes, and click a
2006 Jan 24
4
How to filter an activerecord find_all...
I have a nice hierarchical table structure like this:
divisions
has_many groups
groups
belongs_to division
has_many subgroups
subgroups
belongs_to group
has_many units
units
belongs_to subgroup
I have a report which is based on units, but i want to be able to filter
the units by which subgroup, or which group, or which division. I also
want to sort them by division.name,then group.name,
2006 Aug 14
0
Minor Release
Folks-
I just pushed new version of backgroundrb to rubyforge. THis release
fixes a bug with thread handling and also adds a few things.
Thanks to Chris Hulbert for coding up a win32 service and daemon
script. You will need to reinstall the plugin if you already have it
and delete the script/backgroundrb dir from your rails project. Then
run this command to see windows service usage:
2006 Mar 15
2
Using form_remote_tag, setting the form name
I''m using form_remote_tag like this:
<%= form_remote_tag \
:update => "div_id_dataentry_bottom_ajax",
:loading => "document.getElementById(''wait'').innerHTML=''Loading...'';",
:url => { :action => "dataentry_bottom_edit" } %>
And it makes this code:
<form
2005 Dec 21
3
How to make a drop-down automatically submit an AJAX form
Hi,
I know that to make a dropdown box automatically submit when you change
the value, you do this:
<select ..... onchange="this.form.submit();">
BUT i''ve got an ajax form, and if i do the above trick, it simply
reloads the ajax partial into the whole screen, rather than into the div
where it is meant to go.
I''ve already got it all working so that if you click
2005 Dec 22
2
Accessing an instance variable by its name (as a string)
Hi (again!)
I have a function which gets passed the name of an instance variable,
and spits its out all nicely formatted.
Just wondering, how do i access the variable, when all i have is its
name stored as a string?
So far i''ve got this code, but it looks horrible. Is there a better way?
eval("@" << inst_var_name << "." << field_name <<
2004 Sep 02
0
important tone up
ongemaklikdekion balantacguhj schlappner
If someone tells you our site o""ffers cheap FDA a""pproved med-icat,ions
with pre_scrip_tion, please don't just listen t_o them but t-o check our
site by yourself. The or-der that is sent t~o your door via fast and
reliable delivery service will prove.
eur.op_ean dr-u'gs & ne^xtday shipping
2020 Jul 22
34
[RFC PATCH v1 00/34] VM introspection - EPT Views and Virtualization Exceptions
This patch series is based on the VM introspection patches
(https://lore.kernel.org/kvm/20200721210922.7646-1-alazar at bitdefender.com/),
extending the introspection API with EPT Views and Virtualization
Exceptions (#VE) support.
The purpose of this series is to get an initial feedback and to see if
we are on the right track, especially because the changes made to add
the EPT views are not small
2009 Feb 04
1
Out of Office: Out of Office: Out of Office: Ou t of Office: Ou t of Office: Ou t of Office: Ou t of Office: Ou t of Office: Ou t of Office: Ou t of Office: Re : som e kind of t i meou t problem in pbx _sp ool.c
Me encuentro de vacaciones hasta el proximo 16/02.
Por favor contactar a Pablo Minsteras (pablo.minsteras at utopixnetworks.com) o Gustavo Hernandez (gustavo.hernandez at utopixnetworks.com).
Muchas Gracias,
Gustavo Scheveloff
2011 Nov 29
18
[PATCH 0 of 6] Add support for a VM generation ID virtual device (v2)
The following is a revised patch series to add support for a
VM generation ID virtual device for HVM guests.
The basic requirements of this device are as follows:
- It must be exposed somewhere in ACPI namespace with a _CID of
"VM_Gen_Counter".
- It must also include a _DDN of "VM_Gen_Counter".
- It must contain a _HID object but no particular value is
required.
- It must
1998 Feb 04
0
An old ld-linux.so hole
Section I. Overview
Hello,
About a half year ago there was some rumour on bugtraq concerning a buffer
overflow in Linux dynamic linkers, ld.so and ld-linux.so. You can take a look
at the beginning of the thread at http://www.geek-girl.com/bugtraq/1997_3/0089.html
to refresh old memories; I''ll capitalize anyway.
Briefly, there exists a buffer overrun in ld-linux.so versions 1.7.14,
2003 Oct 12
1
Error openning file (PR#4550)
Full_Name: Adolfo Jiménez Pérez
Version: 1.8.0 (2003-10-08)
OS: Window'98 2ed
Submission from: (NULL) (81.203.134.156)
I've a crash when reading a specific file with the command:
> read.table("file.dat")
This file can be readed with the 1.1.1 version using the same command and R
reads it correctly.
The content file is this:
---->file beginning<---------