Displaying 8 results from an estimated 8 matches for "dispach".
Did you mean:
dispatch
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, ActionCo...
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")
...ounces at r-project.org on behalf of maechler at stat.math.ethz.ch> wrote:
[-- most of original message omitted, so as to comment on the following --]
-----
*) {Possibly such an R we would create today would be much closer to
julia, where every function is generic / a multi-dispach method
"a la S4" .... and still be blazingly fast, thanks to JIT
compilation, method caching and more smart things.}
But as you know one of the strength of (base) R is its stability
and reliability. You can only use something as a "the language
of applied...
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"
...is a list()}.
At the moment my gut feeling would propose to only update the
documentation, adding that one case as "an exception for historic reasons".
Martin
-----
*) {Possibly such an R we would create today would be much closer to
julia, where every function is generic / a multi-dispach method
"a la S4" .... and still be blazingly fast, thanks to JIT
compilation, method caching and more smart things.}
But as you know one of the strength of (base) R is its stability
and reliability. You can only use something as a "the language
of applied statistics and data...
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