Displaying 20 results from an estimated 500 matches similar to: "YART (Yet Another Rails Talk)"
2005 Jan 21
2
collection_select
I''m trying to use collection_select, but it''s not working as I expect. The
list populates correctly but the current value is not selected.
@question contains a topic (via topic_id), and @topics is the list of all
topics. Here''s my attempt to create a drop-down list of the topics.
form("question") do | form |
form << content_tag("b",
2006 Feb 23
1
PostgreSQL CASCADE not copied to test db
When the unit test harness creates a test database from the
development database, the ON DELETE CASCADE constraints I have on my
foreign keys are not copied into the test database. (I can tell by
looking at db/development_structure.sql.)
That means the fixtures can''t load/unload from the test database
properly. In other words, all my tests fail with the same error
message:
2006 Aug 10
1
Web service SOAP URLs started failing with 1.1.4 or using 1.1.2 security patch
Railers,
I''m trying to figure out why invocations to my Web service URLs work
with Rails 1.1.2 but fail both with Rails 1.1.4 (and 1.1.5) and when I
apply the new 1.1.2 security patch to Rails 1.1.2.
It looks like they are failing with SOAP clients but succeeding with
XML-RPC clients.
The URL that used to work is of the form
http://localhost:3000/my_controller/ServiceName/api. When I
2006 Mar 13
2
Engines with InstantRails
I''ve recently started playing with InstantRails 1.0 and am now wanting
to experiment with the Login and active RBAC engines but having trouble
getting them to install.
I''ve checked the following but can''t find any info on how to get it to
work.
http://rails-engines.org/wiki/pages/Engines+plugin
I''ve also tried the following:
2006 Apr 07
5
Instant Rails 1.2
According to Zed Shaw who is doing extensive work on Windows at the
moment, there is some kind of bug or adverse interaction between the
Ruby based MySQL driver and Rails 1.1, but it appears the the C base
MySQL driver works just fine.
Instant Rails 1.2 now includes the C based MySQL driver and Ruby on Rails 1.1.1.
Curt
On 4/1/06, Curt Hibbs <ml.chibbs@gmail.com> wrote:
> Instant Rails
2006 Jul 12
9
Instant Rails Screencast
I created a screencast showing how you can use Instant Rails to get a
fully functional Rails environment running on Windows in under 5
minutes.
Get started with Ruby on Rails in less than 5 minutes
http://mattgriffith.net/PermaLink.aspx?guid=97aa05b7-2e38-4c7d-b184-45ab2e2715b9
Right now the video is only available in Windows Media. Eventually there
will be a flash version available too.
2006 Aug 10
4
1.1.5 Upgrade and config.load_path not working
Hey,
I am trying to upgrade to 1.1.5 and rails no longer finds my controllers the
live outside app/controllers. I was on 1.1.2 previously and here is my
setup
In environment.rb
config.load_paths += [File.join(File.expand_path(RAILS_ROOT),
"rails_shared/controllers") ]
config.load_paths += [File.join(File.expand_path(RAILS_ROOT),
"rails_shared/helpers") ]
2006 Mar 13
4
How to embed the Login Engine in to the layout?
I want the Login Engine to be displayed together with other modules in a
single page,eg the left or head blank of the page just as the
http://gallery.rgallery.dk/gallery shows. What should I do for that? tks
anyway!
--
Posted via http://www.ruby-forum.com/.
2006 Jul 18
5
Installing ROR/Webrick app on Windows 2000/2003 Server
Hi all,
I am currently not able to use search since it is disabled, so I will
ask my question and hope I am not repeating a past question.
I am looking into developing an app to run in Windows 2000/2003 Server
environment. To install ROR on a server to run an app on Webrick do I
need any extra steps beyond those needed to install on my development
laptop (XP prof) ?
The idea is to run the
2006 Feb 26
0
rdoc-mode for emacs
I''ve whipped together this Emacs mode for editing rdoc files. It''s
based off of generic-mode. I''ve set it to be active when you open
README_FOR_APP or any .rdoc file.
Share and enjoy.
Jim
--
Jim Menard, jim@io.com, jim.menard@gmail.com
http://www.io.com/~jimm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rdoc-mode.el
Type:
2006 Feb 26
0
Rdoc mode for Emacs
I''ve whipped together this Emacs mode for editing rdoc files. It''s
based off of generic-mode. I''ve set it to be active when you open
README_FOR_APP or any .rdoc file.
Share and enjoy.
Jim
--
Jim Menard, jim@io.com, jim.menard@gmail.com
http://www.io.com/~jimm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rdoc-mode.el
Type:
2005 Jan 07
3
ruby on cygwin and mysql - problem connecting to db
Hi,
I''m trying my hand at rails by working through the tutorial. I''m stuck
on getting the rails app, running on webrick, to talk to mysql. I''m
getting the "No such file or directory - /tmp/mysql.sock" message that
I''ve seen that others sometimes encounter.
Here''s my environment:
Win2k w/ cygwin installed at c:\cygwin
ruby installed via
2006 Apr 17
5
XML-RPC Webservice API
Hi,
After following the excellent tutorials in the Agile Web Development
with Rails book, I was able to get my webservice working pretty much
perfectly :)
I can access it via SOAP and XML-RPC and look at service.wsdl to find
the API. What I can''t do however is get the API for the XML-RPC call. It
fails with :
Internal protocol error: NilClass is not a valid input stream. It must
2005 Jun 30
2
PESQ results for speex 1.0.3
Francois Menard (Mailing List Account) wrote:
>
> did you try speex in wideband mode ... what bitrate?
>
> f.
15kbps mode. It does significantly better with a different
speaker (the male does better than the female), as well.
I'm considering purchasing a commercial PESQ license and wrap
the PESQ software in a server application. I could then allow
other folks to run PESQ
2007 Feb 14
1
model diagnostics for logistic regression
Greetings,
I am using both the lrm() {Design} and glm( , family=binomial()) to perform a
a logisitic regression in R. Apart from the typical summary() methods, what
other methods of diagnosing logistic regression models does R provide? i.e.
plotting an 'lm' object, etc.
Secondly, is there any facility to calculate the R^{2)_{L} as suggested by
Menard in "Applied Logistic
2009 Apr 14
4
Forcing the extrapolation of loess through the origin
Hi all,
I'm fitting a line to my dataset. Later I want to predict missing values that exceed the [min,max] interval of my empirical data, therefore I choose surface="direct" for extrapolation.
l1<-loess(y1~x1,span=0.1,data.frame(x=x1,y=y1),control=loess.control(surface="direct"))
In my application it is highly important that the fitted line intercepts at the point of
2007 May 06
3
Neural Nets (nnet) - evaluating success rate of predictions
Hello R-Users,
I have been using (nnet) by Ripley to train a neural net on a test dataset, I have obtained predictions for a validtion dataset using:
PP<-predict(nnetobject,validationdata)
Using PP I can find the -2 log likelihood for the validation datset.
However what I really want to know is how well my nueral net is doing at classifying my binary output variable. I am new to R and I
2006 Oct 10
4
Use remote machine environmental variables
I am having an issue passing a command through ssh which uses an environment variable. I would like the environment variable to be read from the remote host, but it is being read from the local host.
For instance:
ssh rhost ls -lm $WWW_HOME
$WWW_HOME is set as /usr/www on local but /var/www on the remote so it is being read as :
ssh rhost ls -lm /usr/www
and I'd like it to be
ssh rhost
2006 Aug 02
15
Rails in a Windows World
I work at an organization that is very wrapped up in Microsoft products. I
am trying to get a test application put in however I''m not sure what to do
about the infratstructure. If it were up to me we would put in MySQL and
Apache or Lighty, however its not up to me. The easiest way to get an
application into production at our company would be to use the existing MS
SQL server and IIS
2013 Aug 29
10
Concatenate two arrays
Hello again ruby community!
I just learned how to add two arrays(I know, i know).
My program looked like this
array1=[1,2,3]
array2=[4,5,6]
array_sum=array1+array2
I thought pretty simple stuff, they are combined. However, now i am
looking to define that code as a method and I do not understand how to
create the correct number of arguments, so when the method is called
back it gives me my