Displaying 20 results from an estimated 400 matches similar to: "Nuube Sequence problem"
2006 Jan 16
2
Problem with AJAX not working on IE
I''m having a problem making this code to work on IE:
var Permit = {
// Expand permit information
onMore: function(id) {
new Ajax.Updater(''pm-''+id+''-lg'', ''/employees/sign_permit_lg/''+id,
{asynchronous:true, evalScripts:true,
onLoading:function(request){
2010 Apr 14
2
GAMM : how to use a smoother for some levels of a variable, and a linear effect for other levels?
Hi,
I was reading the book on "Mixed Effects Models and Extensions in
Ecology with R" by Zuur et al.
In Section 6.2, an example is discussed where a gamm-model is fitted,
with a smoother for time, which differs for each value of ID (4
different bird species). In earlier versions of R, the following code
was used
BM2<-gamm(Birds~Rain+ID+
2005 Aug 31
4
Element.show - element.style.display=''''
All
Head up.
I found that when I had a hidden DIV (using css - display: none) which I
wanted to Effect.Appear on some event (although the underlying problem seems
to be with Element.show()), I had to make an amendment to the underlying
prototype.js code by changing :
element.style.display = '''' -> element.style.display = ''block'';
I think the problem was
2008 Jul 15
9
Beginner Question.
I''m just getting into RoR, coming from a long PHP background. So far I
LOVE IT!
I''m hitting a roadblock with updating my mysql database. For
simplicities sake, I have 2 tables and here are the relevant columns.
Table Users
id
name
email
Table Issues
id
createdby
assignedto
reportedby
In my models I have everything mapped properly I believe.
When I try to update the
2009 Aug 18
1
[PATCH server] Add of a button destroy for disabled hosts.
Add of a button destroy for disabled hosts.
This button behave in a similar way than the delete button of a VM.
Signed-off-by: Sylvain Desbureaux
<sylvain.desbureaux at orange-ftgroup.com>
---
src/app/controllers/host_controller.rb | 5 +++++
src/app/services/host_service.rb | 15 +++++++++++++++
src/app/views/host/show.rhtml | 17 +++++++++++++++++
3 files changed,
2009 May 19
1
re-sending outstanding controller refactoring patches after rebase
I've rebased the patch series to the current next branch and am sending them again.
2006 Feb 28
3
Object#id will be deprecated?
I didn''t get the memo on this :P
members_controller.rb:12: warning: Object#id will be deprecated; use
Object#object_id
Line 12 is:
@member = Member.find(@current_member.id)
How _should_ I be writing that line?
Thanks,
Joe
--
Posted via http://www.ruby-forum.com/.
2006 Mar 01
7
Oracle Sequence & Rails
the compiler tell me it:
invalid column name: INSERT INTO ago.prova_stats (cognome, nome, id,
telefono) VALUES(''Medda'', ''Ivan'', :id, 70565611)
where ago.prova_stats is the table used by me and that have only the
columns ''cognome'',''nome'' and ''telefono''.
My table hasn''t the column
2007 Mar 04
2
Need clarification of documentation
Hi, I have question about the delete() method docs.
I am re-indexing data on the fly so I would like to delete any existing
indexed data for a particular resource before re-indexing it using
index.delete(id).
The delete() method api doc says:
"Delete the document referenced by the document number id if id is an
integer or all of the documents which have the term id if id is a term..
id:
2006 Jun 29
11
Autocompleter without a default choice
Hi,
I have an ajax auto completer for a text field in a form. All''s good.
Unfortunately, I also want the form to be submitted when the user hits
''return'' in the text field.
This combination of circumstances means that if the user is typing his
entry and then hits return to submit it is possible that dang auto
completer will pop up and complete his entry for even if he
2008 Dec 25
2
Switching to active_record_store session management errors out
Hello,
Running Ruby 1.8.6 and Rails 2.2.2 against an Oracle XE database
(sigh).
I just upgraded Rails from 1.2.3 to 2.2.2, which made my cookie based
system for storing session information to error out due to the 4Kb
limit. So, I tried to turn on the active_record_store system by un-
commenting out the "config.action_controller.session_store
= :active_record_store" line in
2006 Jul 10
17
Effect.SlideDown/Up() and HTML issues
Hello,
I''m hoping this is the right place to ask these kind of questions. If not,
please excuse me. Anyway, the problem I''m having is that I have a HTML table
showing some tabular data and I want to use Effect.SlideDown/Up to allow the
user to interactively show "details" for each item (<tr><td> etc) in that
list.
I''ll do some pseudo-code for
2005 Dec 12
2
PeriodicalExecuter passing variables to the callback function
I trying to pass a variable to the call back function of when utilizing
the PeriodicalExecuter function
ex.
new PeriodicalExecuter(refresh, 10);
works
but
new PeriodicalExecuter(refresh(id), 10);
works once then errors after the 10 seconds, I get "this.callback is
not a function"
2006 Jun 24
6
Few questions
I apologize if these questions are not relevant to Scriptaculous. I
just want to get a general idea if I can acomplish some or all of
these things with the framework, and then what (if any) I''ll need to
do outside just using javascript.
For now, I have 2 column layout. On the right I want a form palette
where form elements can be dragged to the left column. I have a form
inside the
2010 Sep 03
1
[PATCH] Adding some control over usages in the network creation/edition form
Signed-off-by: Simon COURTOIS <scourtois at linagora.com>
---
src/app/controllers/usages_controller.rb | 13 +++++++
src/app/models/usage.rb | 2 +-
src/app/services/usage_service.rb | 23 ++++++++++++
src/app/views/network/_form.rhtml | 56 +++++++++++++++++++++++++++++-
src/config/routes.rb | 1 +
2006 Feb 09
1
migration with PostgreSQL - function nextval does not exist
This might be a problem with postgresql, but I''m not sure. In a
migration I have renamed a table so I wanted to rename a sequencer as
well. It looks like:
execute "ALTER TABLE global_vacations_id_seq RENAME TO vacations_id_seq;"
execute "ALTER TABLE vacations ALTER COLUMN id SET DEFAULT
nextval(''vacations_id_seq''::regclass);"
But the process of
2010 Jan 28
2
dynamic drop downs for product search
Hey Everyone,
I''m about to embark on having a search function for the products on my
app via dynamic dropdowns. A dropdown for make would only leave
AVAILABLE models of that make. selecting year would only leave
available makes from that year etc etc.
Any suggestions or good read ups ?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2006 Jan 09
6
drag and drop problem
I am working on a resource planning problem. I like to use a nice drag
and drop interface for that. E.g. have a box of persons and a box of
projects, now I would like to assign a persom to project by dragging it
from the available resources box to a recieving project box.
I have studied the amazing drag and drop shopping card code listed here
http://demo.script.aculo.us/shop
What I need to
2009 May 15
0
[PATCH server] use service layer for Network controller.
There's still room for additional refactoring as we may want to eventually split out nic, bonding, and ip address manipulation into their own controller/svc module, but that would be a much more extensive redesign than we want to deal with for the overall service layer creation refactoring.
Signed-off-by: Scott Seago <sseago at redhat.com>
---
src/app/controllers/network_controller.rb
2008 Jan 11
5
Missing methods
We have a custom implementation of the Mother Object idea. It''s inside
of a module, basically like this:
module Factory
%w(account friendship person invitation message asset email_address
birth).each do |klass|
eval <<-EOF
def self.create_#{klass}(attributes = {})
default_attributes = valid_#{klass}_attributes
#{klass.camelize}.create!