Displaying 6 results from an estimated 6 matches for "neworder".
2007 Oct 07
2
Re-ordering factors
...8555 5576 3124 2524
Uni4+ 2483 9771 7596 3904 3109
Naturally I would prefer the factor levels in their natural ordering in
the table. I would like to re-order the levels of the factors to achieve
this.
I have tried reorder() in the gdata package:
> ed <- reorder(Education,neworder= c("IncompleteHS","CompletedHS",
+ "Uni1-3","Uni4+"))
> agrp <- reorder(Age_Group,neworder=
+ c("25-34","35-44","45-54","55-64",">64"))
> xtabs(Count ~ ed + agrp)...
2008 Sep 23
5
Problem getting Rails to emit the correct (proxy) domain in route urls
Behind the scenes my app runs like this:
http://myapp.mydomain.com/myapp and
and
https://myapp.mydomain.com/myapp
are Apache 2.2 virtual hosts proxy-balanced to a mongrel cluster
on the same machine.
But I need to make these available here:
https://www.mydomain.com/myapp
and
https://myapp.mydomain.com/myapp
are on a second server using ProxyPass and ProxyPassReverse to
2007 Mar 26
5
Session trouble
I am having a problem with an assignment to an object stored in session.
for example when I am in console
o = NewOrder.new
# dl = DeliveryLocation.new
# o.delivery_location = dl #=> returns a delivery location object
# o.delivery_loaction.save #=> returns true
when I am using the controller
delivery_location = DeliveryLocation.new(params[:delivery_location])
session[:order].delivery_location =...
2007 Jun 09
23
hoverclass on droppable zone
Hi guys,
I''m trying to make a drag''n''drop portal using sortable element. I
would like to apply the "hoverclass" option only on the droppable zone
instead of the column border.
Any idea a about the solution?
Thanks for any help,
Sabri
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
2008 Jul 16
2
Error when running my unit test...
Hi Rails team
Learning ROR, and is doing the chapter with test..... feel like
skipping this, but....
(using NetBeans IDE 6.1)
I have created this story_test.rb, and when I run the ''rake test:units
(selected from the GUI), I get this error:
(in /data/NewOrder/Projects/ROR/shovell)
** Invoke test:units (first_time)
** Invoke db:test:prepare (first_time)
** Invoke environment (first_time)
** Execute environment
** Invoke db:abort_if_pending_migrations (first_time)
** Invoke environment
** Execute db:abort_if_pending_migrations
** Execute db:test:prepare
*...
2006 Aug 16
1
Active Record Observers causing 404''s and other weird issues
Hi all. I''ve got a simple AR Observer:
class NewOrderObserver < ActiveRecord::Observer
observe NewOrder
def after_create(object)
Note.create(...)
end
end
In environment.rb I have the following line:
config.active_record.observers = :new_order_observer
And in application.rb I have:
NewOrderObserver.instance
Aside from simply not wo...