search for: caganer

Displaying 11 results from an estimated 11 matches for "caganer".

2006 Jun 28
6
file_column plugin. Storing files outside RAILS_ROOT
I also posted this on Rails Engines forum. Sorry for the double post. I am trying to configure file_column plugin so that it stores the images in a directory completely outside of RAILS_ROOT. I have no problems in storing the files by setting :root_path option. But I can''t get to display these images using ''url_for_file_column''. What I get instead of the image is
2006 Jun 14
3
where to define a struct
Hello, I''m trying to use the following Struct in my web app: UserInfo = Struct.new( "UserInfo", :first_name, :last_name, :email, :domain_name ) I placed this in the environment.rb, thinking that it should be initialized only once. But when I try to access it from within my controller, I get: undefined method `UserInfo'' for #<UserController:0x243ad5c>. so
2003 Feb 25
2
syntax rules
hi, i lost half a day trying to figure out how r is parsing statements in multiple lines. can someone explain (or direct me to documentation) the following. consider the following statements in a program file, say foo.r: a <- 1 + 2; b <- {1 + 2}; {c <- 1 + 2}; d <- c(1, 2); if i do source("foo.r"), i get a=3, b=2, c=1, d={1,2}. according to the r language definition
2003 Feb 19
3
working with list
hi, i have two questions: (1) lookup: given a list of 'strings' in a list, i want to know the index of a given string in the list. if the string is not in the list, the index can be 0 or length()+1. for example, suppose i have names <- c("dog", "cat", "pig", "fish"); then i want lookup(names, "cat") to return 2 and lookup(names,
2019 Dec 15
0
christmas package
Generation of a number of Christmas cards, most of them being animated. The name of each card includes the year in which it was created. Some examples are: - The christmas card that was writen in 2009 shows a ?caganer? ( https://en.wikipedia.org/wiki/Caganer): > library(christmas) > xmas2009caganer() - The 2019 design is about CRM (Christmas regression model) ;-) > xmas2019regression() Have a nice 2020! Jose Barrera Statistician, Associate Lecturer *IS**Global* Barcelona Institute for Global Hea...
2019 Dec 15
0
christmas package
Generation of a number of Christmas cards, most of them being animated. The name of each card includes the year in which it was created. Some examples are: - The christmas card that was writen in 2009 shows a ?caganer? ( https://en.wikipedia.org/wiki/Caganer): > library(christmas) > xmas2009caganer() - The 2019 design is about CRM (Christmas regression model) ;-) > xmas2019regression() Have a nice 2020! Jose Barrera Statistician, Associate Lecturer *IS**Global* Barcelona Institute for Global Hea...
2006 Jul 11
0
text_field_with_auto_complete problem
hello all, I am trying to get a customized text_field_with_auto_complete working where the generated dropdown will display not only the list of teams (first line), but also their city and country(second line). In my view, I have: <p> <label for="team_name">Team: </label> <%= text_field_with_auto_complete :team, :name, {}, :skip_style => true %>
2006 Jun 09
0
difference between @secure_password, secure_password
Hello, I have a User object that extends ActiveRecord::Base. And I have the following defined in it: .... after_validation :crypt_password ... def crypt_password # write_attribute("secure_password", User.encrypt(password)) self.secure_password = User.encrypt(password) end .. And this works. Where I am getting confused about is the difference between the following:
2006 May 15
0
losing validation error messages
Hello all, I am pretty new to Rails and have recently started on a simple project with it.. I have a simple home_controller and home/index.rhtml page that displays a login/registration form. The login/registration actions are handled by users_controller.rb. register action in users_controller always redirects back to :controller => "home", :action => "index".. The
2006 Jan 20
3
text_field_with_auto_complete
Hi, I am trying to use text_field_with_auto_complete, it works fine but when I click on an item (even if I use the up and down key and then type enter) th search panel disappears but the selected results is not shown in the text field. Even more, the text field becomes empty. Any idea? Thanks S?bastien -------------- next part -------------- An HTML attachment was scrubbed... URL:
2001 Jan 10
2
Levenberg-Marquardt algorithm
Hi All, Is the Levenberg-Marquardt algorithm available in R. This method combines the steepest descent algorithm and Newton's method. Thanks in Advance, Dermot MacSweeney. ************************************************************** Dermot MacSweeney NMRC, Email: dsweeney at nmrc.ucc.ie Lee Maltings, Tel: +353 21 904178 Prospect Row, Fax: +353 21 270271 Cork, WWW: