Displaying 20 results from an estimated 28 matches for "tutes".
Did you mean:
toutes
2008 Mar 10
10
tutes on testing controllers
hello spec''ers,
i''m in the hunt for guides on testing controllers with rspec, would
you guys recommend any?
thanks
Oliver
--
Oliver Azevedo Barnes
oli.azevedo.barnes at gmail.com
+55 11 9768 0193
http://www.linkedin.com/in/oliverbarnes
http://workingwithrails.com/person/4704-oliver-barnes
2006 Jun 01
3
Newbie: HABTM problems
I''m new to RoR and trying to make a HABTM relationship work. I have
no problems with displaying the fields (after I pumped the data into
MySQL manually outside of RoR), but when I try to edit a record, it
=does= save the changes in the primary record, but =not= the join
table. When I look in the development log, I see the update to the
main table, but nothing about the join
2006 Feb 28
6
scgi+lighttpd+windows - why wont it work?
two problems, pls help...I''m under big pressure at work to fix this!
I''m having trouble getting scgi and lighttpd running on windows - here''s
what I did:
On Win XP, I installed ruby, rubygems, and setup my rails app. All works
fine with webrick.
I then did: gem install cmdparse and gem install highline (as required
for the scgi_rails gem according to
2006 Mar 11
1
unit testing date columns
I''m trying to run my first tests, following along the tute in Agile Web
Dev with rails book.
I have a table with a created_at timestamp column in mysql.
My test always fails when testing the result of the created_at column.
The book says my test should look like:
assert_equal "2006-03-09 21:01:37",
@thing.date_available_before_type_cast
but when I run my test I get 1 error
2005 May 13
0
randomForest partialPlot x.var through function
All,
I'm trying to set up a function which calls the partialPlot function but
am getting an error that I can't seem to solve. Here's a simplified
version of the function and error...
> pplot <-
function(rf,pred.var){partialPlot(x=rf,pred.data=acoust,x.var=pred.var)}
>
> attach(acoust)
> acoust.rf <-
2006 Feb 10
1
Creating multiple copies of rows in data frames
ListeRs,
Within the last two months, I thought I saw mention of an R function
that would create a new data frame composed of duplicates or multiple
copies of rows of an input data frame given one or several columns of
values indicating how many times each row should be copied. As a simple
example, given a dataframe:
> in.df
x y
1 A 1
2 B 2
3 C 3
"func.name (in.df, in.df$y)"
2013 Mar 28
0
Issue: "ActiveRecord Hstore bug: can't update a key in the hash"
Hi all. I''m interested in contributing to Rails as a next step in software
development. I''m sure there''s tons of things to learn while working on a
widely used, rather complex project. I''m working in private companies for
fun and profit, and I want to also work on big-ish OSS projects for
contributing back, learning and for fun.
I saw there''s a bug
2007 Oct 31
0
another question about acts_as_rateable
I''ve been trying to add some rating capabilities to a site I''m
working on, I''ve been following a few tutorials (one being http://
www.juixe.com/techknow/index.php/2006/07/05/acts-as-rateable-plugin/)
and I keep seeing something that''s confusing me.
---- from the tute : (in my ratings controller)
post = Post.find(params[:id])
post.add_rating Rating.new(:rating
2006 May 03
1
Vector searching and counting speed optimization
R-users,
I'm seeking any suggestions on optimizing some code for speed. Here's
the setup: the code below is part of a larger chunk that is calculating
Fst values across loci and alleles. This chunk is designed to calculate
the proportion ('p.a') of an allele ('a') at a locus in each population
('p') and the proportion of individuals heterozygous for that
2006 Apr 14
1
Adding values to top of bars in barchart
Given the following data frame ("freq.sp"),
> str(freq.sp)
`data.frame': 42 obs. of 4 variables:
$ behav : Factor w/ 6 levels "approach","bowride",..: 1 1 1 1 1 1 1 2
2 2 ...
$ species: Factor w/ 7 levels "COAST_SPOT","EAST_SPINR",..: 1 2 3 4 5 6
7 1 2 3 ...
$ n : int 193 194 563 357 570 369 74 194 208 633 ...
$ pct :
2006 May 31
5
undefined method `redirect_to''
Hi all
I have followed this tute:
http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger
to get rails running and all is fine except for getting:
undefined method `redirect_to''
when I load my test page.
I have the following in my xx.rhtml:
<%= select :group, :user_id, find_all_groups, {}, {:onclick =>
select_group, :size => find_all_groups.size + 1}
2005 Aug 03
1
passing variable to formula environment
List gurus,
I'm trying to code a Gompertz growth curve function as part of a larger
project and have run across a problem due to my ignorance of
environments. Some sample data and the function are as follows:
growth <- data.frame(age = c(1.92, 3, 5.83, 3.17, 15.5, 1.17, 5.58,
13.33, 14.29, 5.83, 13.79, 6.33, 13.75, 16.83, 13, 11.67, 0.25, 1.73,
9.46, 5.67), length = c(157, 165, 179,
2006 Mar 20
2
subsetting and NAs
R-help,
I'm getting some unexpected behavior with subsetting a data frame
(aircraft flight data) that I can't sort out.
Here is a simplified version of my data frame and problem:
> flight
FlightID TailNo FlightDate HobbsTime FlightCost Date year
1 4497 6009K <NA> 2.2 330.0 <NA> NA
2 4498 6009K <NA>
2009 Jun 25
9
WINE install of Dreamweaver MX fails
Hello. I'm new to this forum.
Before I posted this, I did due diligence searching for an answer to my problem. I found and tried 2 possibles; but neither would work for me.
First my machine specs:
64 machine dual boot between WinXP and Ubuntu Janty Jackalope 9.04.
When I used Hardy Heron 8.04 last year, I was able to install Version 7.0 of Dreamweaver MX on a fluke.. I still don't know
2006 Mar 25
67
Your Ruby IDE
Just a poll here i am looking for a good IDE for rails and wondering
what you guys use?
features i like in an ide
code highlites
auto code complete
file browser
Currently i am using dreamwever but the code highliting is really bad
its also a pain to set up other doucment types such as .yml data config.
--
Posted via http://www.ruby-forum.com/.
2003 May 22
0
[PATCH 2.5.69 2/3] Remove NFS root support from the kernel
This patch removes support for use of NFS as a root filesystem from the
kernel. It also updates the documentation to reflect this.
b/Documentation/nfsroot.txt | 97 +++---
b/arch/arm/def-configs/a5k | 1
b/arch/arm/def-configs/adi_evb | 1
b/arch/arm/def-configs/adsbitsy | 1
b/arch/arm/def-configs/anakin | 1
2019 Dec 02
2
Ubuntu cosmic support
Hi,
We noticed that "cosmic-cran35" recently went missing from
http://cran.rstudio.com/bin/linux/ubuntu/ (apparently in mirrors as well).
Was cosmic support removed? It still seems to be in the readme file.
Mark Walker, PhD
Computational Biologist
Methods Group, Data Science Platform
The Broad Institute
Cambridge, MA
[[alternative HTML version deleted]]
2020 May 08
0
base::order making available retGrp and sortStr options for radix method?
Hi together,
a bit more than a month ago I have released the 'collapse' package for
advanced and fast data transformation in R with an array of fast grouped
and weighted functions and facilities for efficient grouped programming in
R.
As I am preparing the next update of this package I have come across the
following: For grouping, 'collapse' uses the function 'GRP', and
2007 Mar 29
0
Postdoctoral fellowship in pharmacometrics
Metrum Institute (http://metruminstitute.org/) is offering a
postdoctoral fellowship in pharmacometrics. It will focus on the
development of computational methods and open-source software tools for
Bayesian modeling and simulation relevant to pharmacometric
applications. An ideal candidate will have a post-graduate degree in
statistics, pharmacokinetics, bioengineering or other related
2010 Oct 19
0
Queue management
Is there any good alternative to resque to management of queue
considering cpu memory and usage to increase or decrease background jobs ?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send