Displaying 20 results from an estimated 3000 matches similar to: "Vim error-format"
2010 Jan 06
1
chooseCRANmirror() (PR#14179)
Full_Name: Chris Evans
Version: 2.10.1
OS: Windows XP sp3
Submission from: (NULL) (86.159.235.204)
I was on leave and using a wifi internet connection in France and got connected,
launched R (2.10.1 on Windoze XPsp3) and tried to update my packages and got:
> chooseCRANmirror()
Error in m[, 1L] : incorrect number of dimensions
It took me a bit to realise that the message was coming up
2006 Feb 06
3
where should I start? If I want to use dataschemas with postgresql?
Hi,
How should I use Activerecord to map to a database
schemas with Psotgresql? Where can I find the
infomation about how to use schemas in Rails?
Thanks you very much
Saiho
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
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 27
27
Preferred Ruby Editor/IDE for OS X?
Just a quick question, if I were tired of typing ruby into a terminal
editor, say I wanted, oh, a scroll bar, mouse support, and maybe
syntax highlighting? Anyone know os a good Ruby/Rails editor or IDE,
one that runs on OS X, possibly in Java?
-Josh
-----------
Due to the recent increase in spam and falsely sent email, I now PGP
Sign all of my outgoing mail to prove my identity. This
2006 Feb 09
2
Crazy @55 Inheritance
I have one table, called "people".
Within this table, there are type "users", "managers".... etc. So, basic
STI.
Now, I want a "user" to have one manager, but a "manager" to have many
"users".
Since I don''t want to use HABTM... how do I set this relationship up seeing
that :has_one, :belongs_to and :has_many don''t
2006 Apr 21
10
"Client closed socket" spewage
Hi all,
Ruby 1.8.4
Rails 1.1.2
Mongrel 0.3.12
I''m seeing this output from the Mongrel server:
Client closed socket requesting file
C:/eclipse/workspace/dslscheduler/public/javascripts/prototype.js:
Invalid argument
It seems to be harmless, but I''m curious as to what''s causing it. Any
ideas?
Thanks,
Dan
2012 Feb 28
1
migrating/converting from system users -> virtual users
Hello all,
We currently have a traditional mail server where all users have system
accounts (ie entries in the NIS passwd map) and mbox-format mail folders in
their (system) home directories.
I'm trying to setup a dovecot server in which we want all users to have
"virtual" accounts (in dovecot) and no entry in the passwd file at all (ie no
access to the mail server).
This is
2009 Mar 15
1
Postfix and Samba best practice
Hi,
We have a server which is going to be a Samba file server and a Postfix
server where the users will access their mail over IMAP.
We normally prefer to use Maildir storage as it seems to be recommended
over mailbox - for me, for example, I am subscribed to a dozen or so
lists and have tens if not hundreds of thousands of emails on the
server. The combination of Postfix and Courier-imap
2005 Dec 13
4
find()ing rows w/ NULL columns?
Agile Web Development with Rails doesn''t seem to have NULL in the
index [or my eyes have failed me again], and web searching turns up
lots of SQL statements containing NOT NULL.
I have a table of loans, and I want to record when something was
loaned and returned. The loan date can''t be null, or there''d be
no entry in the table. The return date must be something
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 Apr 17
3
[LLVMdev] OpenBSD. (Was: 1.7 Pre-Release Ready for Testing)
Hi again,
I wrote:
> > I would like to test but the I modigied the configure to make
> > unknown = OpenBSD and Unix
>
> Have you looked at ./config.log. ./configure creates this as it runs
> as a trace of the path it took through ./configure. Work backwards
> from the end to find out what it didn't like.
I remember SourceForge's compile farm has an OpenBSD x86
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:
2008 Nov 05
1
How do I read a text (.csv) file to match a matrix/cross tab? (Object confusion??)
I'm having a problem reading data to set control totals for a dataframe.
I want to adjust a dataframe based on a 2-d table of values, which I get
by using :
> CurrentX1Sums <- as.matrix(xtabs(~tripid_nu+lineon, data=SurveyData))
> CurrentX2Sums <- apply(CurrentX1Sums, 1, sum)
I've created a .csv file with new (target) sums that looks like this:
tripid_nu Warner
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
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