Displaying 20 results from an estimated 200 matches similar to: "self referential (n-n relationship) belongs many controller"
2006 Feb 02
2
uninitialized constant
Ok, I searched but couldn''t find anything and I even tried the RoR IRC
channel with no help.
I get this error:
uninitialized constant Airport
I used this code which I got from the RoR site.
helper :sorting
def list
@sorter = SortingHelper::Sorter.new self, %w(icao host_id name),
@params[''sort''], @params[''order''], ''icao'',
2007 May 19
0
database outputting results twice per page (using pagination + sorthelper)
Each page is getting the same 5 db results listed twice, I cant seem
to figure out why
this is how the page look
page 1:
post 1
post 2
post 3
post 1
post 2
post 3
page 2:
post 4
post 5
post 6
post 4
post 5
post 6
template
------------------------------
<%= render_collection_of_partials "upcoming", @albums_pages %>
view (sorry its big)
------------------------------
<%
2006 Aug 15
1
Problem with joining...
Hello,
I am quite new to Rails and i was wondering if i could get some help
to populate a join table?
I got (for example) a table called films, a table called acteurs and
a join table called acteurs_films. I have specified the HABTM
relationship and I manage to do it through the console by doing:
acteur=Acteur.new
acteur.name="blabla"
acteur.films << film
acteur.save
and
2008 May 08
2
Testing render :text without has_text
A controller I''m trying to test simply delivers a text string to the
client, which then demarshalls it to retrieve some objects. I want to
test that the returned string is correct.
I don''t want to compare the string character-by-character with
response.has_text because that ties me to the implementation of the
Marshall class. Instead, I just want to demarshall the string
2009 Jan 29
1
Xapian Ruby bindings do not implement full multi-value-sorting functionality?
Hello,
this is a question that could be answered by collaborators of the Ruby
bindings.
Today I've played around with the Xapian::MultiValueSorter class. I've set
everything up and then I tried following on an instance of Xapian::Enquire:
:
enquire = Xapian::Enquire.new(database)
enquire.query = options[:query]
:
sorter = Xapian::MultiValueSorter.new
sorter.add(0, true)
sorter.add(1,
2000 Nov 24
1
groupe averages error
I want to get subsets averaged on numeric variables number 5:13 but I
get the error below that I cannot understand.
> is.factor(dat$Statut)
[1] TRUE
> s<-ave(dat[,5:13],dat$Statut)
Error in [<-.data.frame(*tmp*, , value = if (n) { :
Argument "i" is missing, with no default
Thanks in advance
---------------
Charles RAUX,
Laboratoire d'Economie des Transports
2010 Aug 27
1
Using relevance when sorting by generated key
Hi all,
I am trying to implement a scheme where documents in an MSet will be
sorted based on relevance as well as geographical distance from a given
(non-fixed) point.
I understand that this can be accomplished by using PostingSource in
order to implement a custom weighting scheme that would combine BM25
weighting and distance. The problem is that I am using perl and
PostingSource is not
2009 Jan 17
0
libtheora fails to compile examples on Solaris
Hi together,
I have compiled so far a lot libs and already some programs on my
Solaris 5.7 box (old, I know). When I try to compile libtheora the
examples are not compiling:
make[2]: Entering directory
`/export/home/quix0r/more/libtheora-1.0/examples'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include
-I/usr/local/include -I/usr/local/include/libpng12 -Wall
-Wno-parentheses -O3
2011 Feb 25
0
Help with card-sorting experiment
This is the first time that I've posted to this list, so if I'm doing
something wrong, please let me know. Also, if there is a searchable forum
where I can find help, that would be good too.
I'm doing a card sorting experiment, and I'm having problems imputing my
data into R for later analysis. This is what I get from each sorter:
Category Name Card numbers
2006 Apr 16
11
Best way to sort categories w/ pager
Ahoy,
I made this pager,
" def list
@item_pages = Paginator.new self, Item.count, 10, @params[''page'']
@items = Item.find :all, :conditions => "category_id =
#{params[:condition]}",
:limit => @item_pages.items_per_page,
:offset => @item_pages.current.offset
@categories = Category.find_all
2015 Jun 10
1
make check xapian-bindings-1.2.21 & Search-Xapian-1.2.21.0
Eric Lindblad
http://www.ericlindblad.blogspot.com
- - -
Slackware-14.0
bash-4.2# make check
Making check in perl
make[1]: Entering directory `/home/eric/xapian-bindings-1.2.21/perl'
make check-am
make[2]: Entering directory `/home/eric/xapian-bindings-1.2.21/perl'
make check-TESTS
make[3]: Entering directory `/home/eric/xapian-bindings-1.2.21/perl'
./t/01use.t .. ok
All tests
2009 Mar 15
0
rspec-rails 1.2.0 Released
rspec-rails version 1.2.0 has been released!
* <http://rspec.info/>
* <http://wiki.github.com/dchelimsky/rspec>
* <http://wiki.github.com/dchelimsky/rspec/rails>
* <http://wiki.github.com/dchelimsky/rspec/upgrades>
Behaviour Driven Development for Ruby on Rails.
Changes:
### Version 1.2.0
IMPORTANT INFORMATION: Due to changes in Rails-2.3, there are some changes
in
2009 Apr 23
1
Failing to print mer object in an RData image
Hi all
I have problems in accessing a mer object called model.01 from a
workspace that was created with R 2.8.1 and saved with save into an
.RData file (on Windows XP or Ubuntu 8.10, don't remember anymore).
Now I want to open it in R 2.9.0 on Ubuntu 8.10. I use
# load workspace
load("name.RData")
which seems to work:
ls() # all objects in there
[1] "all"
2007 Oct 23
1
Samba, AD and non AD Machines
Hi All,
I have configured Samba 3.0.23 to work with Active Directory. Based on
all the tests shown here:
http://us3.samba.org/samba/docs/man/Samba-Guide/unixclients.html#adssdm
Things are working as expected.
Most machines and users are working as expected.
I do have some Windows machines on another subnet, NOT joined to the
domain that are giving me grief. Going to
2012 Mar 27
0
I can't open a .nc file with the "cdfcont" function of the clim.pact package
Hello,
I am new at using R.
I would like to use the following functions of the "clim.pact" package:
ncdfcont and retrieve.nc
I have installed the package "clim.pact" in Rstudio.
I have downloaded the "ncdf pack" from unicar (including ncdump and ncgen).
The ncdf file I'm working on is called "essai2.nc"
Here is what I get, when I type the command
2008 May 17
0
Job offer in France : FreeBSD administrator
Hello,
This job offer comes from "Computer Futures" an french provider of
recruitment services to the IT industry. I receive this email this week
from one of the recruiters.
This job is based in France, not so far from Paris; I post here the
offer in french.
-/-
www.computerfutures.fr
Marianne Cohen
Computer Futures Solutions - France
40 Rue De La Boetie, 75008 Paris
Phone 0033
2008 Mar 08
1
Installing odesolve package of R under Ubuntu (Debian) Linux
Bonjour,
Je cherche à installer le package odesolve du logiciel de statistique R sous
Ubuntu Linux.
C'est un package qui contient des fonctions appelant du code en Fortran.
A l'installation sous R via le shell, j'obtiens l'erreur suivante:
Hi,
I tried to install odesolve package of R under Ubuntu Linux.
But I got the following error:
ghislain@ghislain-laptop:~$ sudo R
[sudo]
2017 Jun 20
2
Unable to get transaction opinfo for transaction ID gluster version 3.6
Hi,
I have some blocked transactions. Does anybody have some advise on how I
could mend this because I am unsure where to start?
I believe this broke after I issued some set auth.allow commands:
# gluster volume set oem-shared auth.allow
10.54.54.57,10.54.54.160,10.54.54.161,10.54.54.213,10.54.54.214,10.22.9.73,10.22.9.74
Kind regards, Sophie
[2017-06-20 13:28:24.052623] E
2007 Oct 23
0
Samba, AD and non AD Machines
Hi All,
I have configured Samba 3.0.23 to work with Active Directory. Based on
all the tests shown here:
http://us3.samba.org/samba/docs/man/Samba-Guide/unixclients.html#adssdm
Things are working as expected.
Most machines and users are working as expected.
I do have some Windows machines on another subnet, NOT joined to the
domain that are giving me grief. Going to
2006 Feb 02
0
tunneled tc
Hello!
I''ve posted recently a question about shaping tunneled traffic.
Now I ask a sorter question:
I tried to add a HTB qdisc to a gre tunnel interface and after that
there is no traffic going out into the tunnel.
The classes, filters and qdiscs are ok. Does anyone know what else
should I do for it to work?
Then I tried to add a txqueuelen but with no effect (after the command
completed,