search for: dispacher

Displaying 8 results from an estimated 8 matches for "dispacher".

Did you mean: dispatcher
2006 May 19
14
Running Rails from embedded Ruby
Is it possible to run a Rails application from embedded ruby? I''m thinking of replacing dispaches with a C application which will then call the normal Rails dispaches and so on... Is this do-able? Many thanks, Kris. -- Posted via http://www.ruby-forum.com/.
2006 Mar 02
3
reloadable classes for other base classes than the built-ins
...e name from you from the TW AwayDay ;-)). Anyway, in both these applications I want to be able to have reloadable classes that don''t extend any of the standard built in ones. So, I don''t mean to offend the Eminent Core Members by digging up their little skeletons but this code in dispacher.rb is.... well, let''s settle with saying it''s not very extendable: def reset_application! Controllers.clear! Dependencies.clear ActiveRecord::Base.reset_subclasses Dependencies.remove_subclasses_for(ActiveRecord::Base, ActiveRecord::Observer, ActionCont...
2006 Mar 31
11
Model and Controller relationship
My question is about where certain kinds of logic sit in the Model and Controller objects or more specifically the relationship between Model and Controllers. Does an Model class contain a Controller class, the otherway round, or are they two seperate classes that talk? 1. Should the Models be treated as the primary objects within a program and the matching controller is simply a way of
2018 Sep 26
1
Stability and reliability of R (comment on Re: as.vector() broken on a matrix or array of type "list")
With regard to Martin's comment about the strength of (base) R: I have R code I wrote 15+ years ago that has been used regularly ever since with only a few minor changes needed due to changes in R. Within that code, I find particularly impressive for its stability a simple custom GUI that uses the tcltk package that has needed no updates whatsoever in all that time. Such stability and
2018 Sep 26
2
as.vector() broken on a matrix or array of type "list"
Hi, Unlike on an atomic matrix, as.vector() doesn't drop the "dim" attribute of matrix or array of type "list": m <- matrix(list(), nrow=2, ncol=3) m # [,1] [,2] [,3] # [1,] NULL NULL NULL # [2,] NULL NULL NULL as.vector(m) # [,1] [,2] [,3] # [1,] NULL NULL NULL # [2,] NULL NULL NULL is.vector(as.vector(m)) # [1] FALSE
2018 Sep 26
0
as.vector() broken on a matrix or array of type "list"
>>>>> Herv? Pag?s >>>>> on Tue, 25 Sep 2018 23:27:19 -0700 writes: > Hi, Unlike on an atomic matrix, as.vector() doesn't drop > the "dim" attribute of matrix or array of type "list": > m <- matrix(list(), nrow=2, ncol=3) > m > # [,1] [,2] [,3] > # [1,] NULL NULL NULL > # [2,] NULL NULL
2006 Mar 09
13
Apache or lighttp for Ror/2003server?
160,000 pages 99% static, only minor stuff done in rail (search, contact us, etc.) windows server 2003 Ror 1.0 Currently 30K Hits /day on IIS. Apache or Lighttp? Fast_CGI seems kinda slow with a 2003/Apache configuration. The only thing I''ll get rid of for sure is IIS. -Cedric -- Posted via http://www.ruby-forum.com/.
2006 Jan 16
11
Plans to intigrate ObjectGraph in to Rails
Are there any plans to move the schema definition from migrations to the model, where it should be? Like og does, which I think is used by the ruby Nitro framework... ObjectGraph: http://www.rubygarden.org/index.cgi/Libraries/og_tutorial.rdoc Example code: [code] class Post property :title, String, :sql => ''VARCHAR2(32) NOT NULL'' property :body, String property