Displaying 20 results from an estimated 300 matches similar to: "RAILS on UBUNTU"
2006 Jun 24
1
select or select_tag ?
hello PPL,
I''ve seen now that the _form.rhtml generated by script/scaffold is
populated by
<%= text_field ''model'', ''field'' %> without _tag!
but only text_field_tag is to be found in the 1.1.2 documentation..
(like in the rest of Module ActionView::Helpers::FormTagHelper there
is _tag)
I''ve tried to use <%= select instead of
2009 Apr 02
2
Ruby 1.9, Rails 2.3.2, and MSSQL issue
I am having a strange issue. I have upgraded to ruby 1.9.1 to do some
testing on one of my machines. My app accesses a MSSQL database to
pull in some information. Everything worked fine with ruby 1.8.6, but
now if I try to navigate to a page that accesses that database I get
this error:
DBI::InterfaceError in PagesController#company
Unable to load driver ''ODBC'' (underlying
2006 Jun 28
1
HELP! adding new object to @objects...
hello all!
I''m in deep shit for my exam tomorrow! :)
as you can see, I want to search with Tesi.search with all params
arriving from form ''se''
so I need to add the @tmp result to @tesis collection if not empty..
If I use an array for @tesis I can push @tmp but then I got errors
in .rthml
If I use @tesis = Tesi.new I can''t push (I don''t know how
2009 Sep 03
7
Strange NoMethodErrors in production mode, I just don't know what to do.
Hi,
thanks for reading. Since hours, I am facing a problem and it seems
that I am not able to solve it.
Let''s say, I''ve got a model called "AnnotationType". This model has
got a method called "foobar(x)". It''s just so simple. I can access
this method in my unit tests, in the console (all modes), but if I
start the server in production mode and try
2005 Jun 16
1
Unable to modify TDB passwd
Hi everybody,
My name is Tani Alessandro, I have a problem when I try to change the
password of user "root" (the Domain Administrator). For all the others users
I don't have any problem. I have update samba from the version 3.0.11 to the
version 3.0.14a. I use a Red Hat 9. When I try to change the root password I
recive this messagge:
> Unable to modify TDB passwd ! Error:
2010 May 24
2
Use of <![CDATA[............]]> on rxml
How can I put something like this on a rxml, in one line of code and
generating only one line on the xml ?
<name><![CDATA[Steve]]></name>
--
Posted via http://www.ruby-forum.com/.
--
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
2009 Apr 25
1
Overlapping parameters "k" in different functions in "ipred"
Dear List,
I have a question regarding "ipred" package. Under 10-fold cv, for different knn ( = 1,3,...25), I am getting same misclassification errors:
#############################################
library(ipred)
data(iris)
cv.k = 10 ## 10-fold cross-validation
bwpredict.knn <- function(object, newdata) predict.ipredknn(object, newdata, type="class")
for (i in
2007 Oct 04
10
Design and modeling tools?
What do you guys use for design and modeling (and don''t answer pen and
paper, because I use those to, they just don''t look so good in a
project report ;) )
I have tried stuff like UMLet (free), Altova UMLsomething (pay), dia
(no comprende ;) ), NetBeans UML (slow). But none worked just the way
I wanted them to.
Any suggestions?
Christian...
2013 Jun 09
1
agnes() in package cluster on R 2.14.1 and R 3.0.1
Dear R users,
I discovered something strange using the function agnes() of the cluster
package on R 3.0.1 and on R 2.14.1. Indeed, the clusterings obtained are
different whereas I ran exactly the same code.
I quickly looked at the source code of the function and I discovered that
there was an important change: agnes() in R 2.14.1 used a FORTRAN code
whereas agnes() in R 3.0.1 uses a C code.
2006 Nov 04
0
(no subject)
--
Emanuele Tozzato
mob +39 329 29 56 995
icq 30 77 52 76
web mekdigital.com
2007 May 12
4
Multiply and format with thousands separator
I have just started with Ruby and Rails and am still greatly confuse,
finding the usual tutorials not much help.
What I want to do is take two numbers from my database, multiply them
together and display them in a list with a comma for the thousands
separator. This would be very easy to do in a spreadsheet, so I assumed
it would be easy to do in Ruby on Rails but I can''t work out how.
I
2011 Sep 07
1
Error: in routine alloca() there is a stack overflow: thread 0, max 535822282KB, used 0KB, request 24B
Dear Colleagues:
Through your help an R related installation issue was resolved, but I now
have the following usage issue.
On any "get.var.ncdf" usage I am seeing:
Error: in routine alloca() there is a stack overflow: thread 0, max
535822282KB, used 0KB, request 24B
The same error is posted on a file as small as 50MB and as large as 500GB,
with ulimit set to unlimited. I
2008 Jul 23
1
Rails Rewrite rule (on mod_rails)
Hello,
I''m running fine my application on the dev server with apache2 and
mod_rails, but on the production server I have a strange issue.. it
seems like something is wrong with httpd.conf of .htacces.. the dev
server is a DreamHost PS and I''m configuring the production one one
HostGator.
I have a public/users/ folder with member profile images and a users
controller..
2009 Mar 02
3
Truncate function and html tags
I have a text field in the db for the body of user posts. Users
submit the posts using the tinymce editor, which allows certain html
tags. The posts are stored in the db with allowed html tags directly
in the post, so I could have something like:
<p>This post will try to eliminate the confusion regarding rails and
the truncate function.</p>
I am trying to display the first 300
2006 Jun 25
0
ITalian Railers!
non dimenticatevi di rails.it! l''ho scoperto oggi e penso che dovemmo
metterci tutti un po'' di impegno! :)
saluti, mek from venice/it
2010 Dec 01
10
How to Redirect from http://mysite.com to https://www.mysite.com on Herok
Hello I''m looking to learn how to redirect all non-www (mysite.com) to
https://www.mysite.com
I tried the following:
class ApplicationController < ActionController::Base
before_filter :check_uri
def check_uri
redirect_to request.protocol + "www." + request.host_with_port +
request.request_uri if !/^www/.match(request.host) if Rails.env ==
2005 Apr 12
1
Point and print drivers install from a Win2000 box
Hello, all !
I'm setting up a print server with Samba and Cups. All goes fine, until I
try to upload the drivers from a Win2000 box to the Samba server: The
driver files are copied to the correct directory ([PRINT$]/W32X86/...),
and everyone seems to be happy... Until I click on the "OK" button: I
then get a message saying:
"The printer parameters could not be saved. Acces
2013 Aug 19
1
Server authentication
Hello,
I can't find any precise technical information about how the client
computer in Windows domain (NT,AD) verifies the identity of the PDC. Can
you please point
me to any source of relevant information or give me a brief explanation?
Situation:
I'm going to replace a Windows Server 2003 PDC with samba. I've
successfully extracted the PDC's ldap contents (with ldifde tool) and
2007 Oct 12
6
abstract_class... what exactly does it do
Hi,
Does anyone know much about abstract_class? Does it actually prevent
instances of the class from being created? Does it disable certain
methods? I already know what it''s for, but I want to know what setting
self.abstract_class=true actually does.
The reason I ask is that I want to use it for a slightly unorthodox
purpose. I want a class who''s only attributes are its
2005 Jan 17
2
3d bar plot
This graph -> http://www.math.hope.edu/~tanis/dallas/images/disth36.gif
is an example I found at
http://www.math.hope.edu/~tanis/dallas/disth1.html
created by Maple.
Does anybody know how to create something similar in R?
I have a feeling it could be possible using scatterplot3d
(perhaps with type=h, the fourth example in help('scatterplot3d')?),
but I cannot figure it out.
Thanks in