search for: stamats

Displaying 20 results from an estimated 112 matches for "stamats".

Did you mean: staats
2006 Jan 30
10
form_remote_tag and redirects
I would like to have a login box setup so that if incorrect info is submitted, the box "shakes" via Effect.Shake. If the correct information is submitted, I want to redirect to some other page. The only solution I''ve found is the following, which is pretty ugly, as it displays the javascript I''m invoking on the page prior to the redirect. Here is the code: The Form
2006 Jan 14
14
Javascript/AJAX Debugging
Hello ! I''m trying to implement something similar to the "multiple updates" section of the Web2.0 chapter of the Agile book. I implemented my version, and nothing is happening. No javascript errors, my logs look fine, page is rendered fine... just no Effect.Highlight. Here is the code: views/causes/cause_home/index.rhtml =============== <%= form_remote_tag(:complete =>
2006 Jan 27
17
Multiple Model Validation
Hey All ! I have a form which contains two models. I would like both models to be validated, but have their validations aggregated on the page. If I do: <%= error_messages_for(:model1) %> <%= error_messages_for(:model2) %> It puts two big validation blocks on the page. I would like all the errors from both models, but only in one validation box. Is this possible ? All my attempts
2006 Feb 01
6
Little Ferret Problem
I''ve implemented Ferret, using the instructions here: http://wiki.rubyonrails.com/rails/pages/HowToIntegrateFerretWithRails I get no errors in the application at all... however, I always get 0 results. I built an index off of some data, it exists in the index/ directory, the form submits find... etc... Just 0 results... all the time :) I confirmed the data from my models is being put
2006 Feb 24
5
Sanity Check
Maaaaaaaaaaaaajor sanity check needed. I wrote a simple little plugin, and it wouldn''t load. I put some comments in it''s init.rb, and it didn''t even spit those out. So, I dug into the initializer.rb (/vendor/rails/railties/lib/initializer.rb) to see wtf is going on, and found the problem... but... can''t explain it. Here is the code in question:
2006 Feb 28
12
Examples for Money library ?
Can anybody share some examples of their Money implementation ? I''m trying to setup a Model to use this library, but can''t seem to wrap my head around how it is exactly supposed to work. My Model (Foo) looks like: =============== composed_of :commission, :class_name => "Money", :mapping => [ %w(commission_cents cents), %w(commission_currency currency) ] Yet, in
2005 Dec 06
0
problems with initialize-method, difference between Win XP & Linux
...object generated by the initialize-method of class "S4pkg1Class" but with a "default-protoype" (slots are filled with "numeric(0)", "character(0)", ...). Can someone confirm this behavior? The sources of two sample packages can be found under: http://www.stamats.de/S4pkg1_0.1-1.tar.gz and http://www.stamats.de/S4pkg2_0.1-1.tar.gz After installation please try: require(S4pkg1) new("S4pkg1Class") # o.k., default values of initialize are used require(S4pkg2) new("S4pkg2Class") # is slot "pkg1" filled with the output of new(&qu...
2006 Feb 22
15
Fixtures and Relationships
In my daily development, I migrate back and forth between versions, and often do: rake load_fixtures... ... in order to populate my development database with fun data. Now, with any HABTM relationship, there are failures, as there is no way to say "which" fixtures to load first. Within an actual functional or unit test case, you could simply load them in the proper order, but
2006 Feb 14
4
Escaping the AJAX View
I have a login form, in which I use a "form_remote_tag". I''m redirecting users to this form when they fail authentication as well... and using the "jumpto" method of capturing they original URL they requested via request.parameters, and redirecting to this URL after they authenticate. Problem is, if I try to do a "redirect_to", this won''t work, as
2006 May 31
8
New Rails site... RightCart.com
Hello Everyone ! Wanted to announce the launch of a new, 100%, Ruby/Rails based shopping system. http://www.rightcart.com (our blog: http://www.rightcartblog.com) It''s basically a shopping widget that allows users to make purchases directly through the widget.... no need to be redirected to a third party shopping cart. You can sell anything you want by upload the products onto the
2006 Mar 23
4
RJS and Form Validation (Best Practice)
Hello All ! I''ve been using RJS extensively, but haven''t done any form validation with it until now. Should I be manually passing the RJS template some models error messages from the controller.... or ... should I be using error_messages_for in order to do the display ? I''ve implemented the first approach, but it seems like quite a hack. Any insight would be greatly
2005 Oct 22
0
after package reorganization: version 1.6 of package "distr" available; new packages "distrEx", "distrSim", "distrTEst", "RandVar"
...s "distr" and "distrEx" and contains classes and methods for random variables (see later) These two packages are described in some detail in Matthias' PhD Thesis "Numerical Contributions to the Asymptotic Theory of Robustness", App. D available on http://stamats.de/ThesisMKohl.pdf ----------------------------------------------------------------------------------------- Short Descriptions ----------------------------------------------------------------------------------------- Short Description of "distr": "distr" is to provide a concep...
2005 Oct 22
0
after package reorganization: version 1.6 of package "distr" available; new packages "distrEx", "distrSim", "distrTEst", "RandVar"
...s "distr" and "distrEx" and contains classes and methods for random variables (see later) These two packages are described in some detail in Matthias' PhD Thesis "Numerical Contributions to the Asymptotic Theory of Robustness", App. D available on http://stamats.de/ThesisMKohl.pdf ----------------------------------------------------------------------------------------- Short Descriptions ----------------------------------------------------------------------------------------- Short Description of "distr": "distr" is to provide a concep...
2007 Jan 21
5
Integration + Normal Distribution + Directory Browsing Processing Questions
Hi everyone, I am new to R, but it's really great and helped me a lot! But now I have 2 questions. It would be great, if someone can help me: 1. I want to integrate a normal distribution, given a median and sd. The integrate function works great BUT the first argument has to be a function so I do integrate(dnorm,0,1) and it works with standard m. and sd. But I have the m and sd given.
2010 Jun 06
1
Robust Asymptotic Statistics (RobASt)
Hi all, Other than: http://www.stamats.de/F2006.r Are there other good simple examples out there of using the ROptRegTS package (part of the RobASt project)? I'm hoping to plug it in for multivariate regression. Or is this not a good idea? Just trying to find out how it compares to rlm, lts, glm, etc. Hopefully this makes sense, I&...
2006 Jan 03
1
S4 default initialization: unwanted NULL
The default initialization for slots of class "factor" and "data.frame" gives NULL. This seems odd, since those slots can't ever be set to NULL by the user. I would expect zero-length instances of factor and data.frame. Here is an example: setClass("FOO", representation(a="factor", b="data.frame", c="numeric")) [1] "FOO"
2006 Jan 15
5
ActiveRecordCache
I believe I heard some talk of an ActiveRecordCache being developed while I was on IRC... however, can''t find the actual project. Anybody know if this is being developed, or where I can find more information on it ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060115/b47317b2/attachment.html
2006 Mar 16
4
problems with latest and greatest ?
I just did the following: 1) checked out latest rails from svn. 2) built project using the /bin/rails with the latest rails binary. 3) did a "rake freeze_edge" within the project Now, script/server is failing =========================== ./script/../config/../vendor/rails/railties/lib/commands/../tasks/tmp.rake:1: undefined method `namespace'' for #<Object:0x401ce970>
2006 Apr 10
6
"Pursuit of Happiness" ? Are you sure ?
I always kind of liked this title (the title of Davids super Rails presentation), but then I saw this quote today: "The pursuit of happiness is a most ridiculous phrase; if you pursue happiness you''ll never find it." by C.P Snow I''d have to agree with this quote. It''s the same as love... go looking for it, and you''ll never find it. Soooo... David,
2006 Jan 25
3
Application Helper and Javascript
I have a "javascript_include_tag" including a Javascript function. I have a function being invoked via a helper in the same view, which prints out a script tag that uses the javascript function above. Problem is, the function being invoked via the helper can''t find the javascript function included in the "javascript_include_tag". I hardcoded the javascript that