Displaying 20 results from an estimated 34 matches for "wuw85uim5zdr7s880joybq".
2005 Mar 28
2
using login_generator and the Cookbook tutorial
Hi All,
I''ve been fooling around with the login_generator and the rolling with
ruby on rails demo, but I''m jiggered if I can get the two to work
together.
I''ve managed to get everything installed ok, and have created the db
and tables, etc.
I''ve been using ruby script\generate login Recipe, and I can either
the get the basic tutorial to work, or get the
2005 Jul 15
5
Nested Controllers
Hi there,
I wondered if anybody had any experience with having nested
controllers?For example, I''d like a hierarchy something like this:
/product
/product/list
/product/detail
/product/detail/category
I can''t find any documentation on this, so any advice/experience
anybody might have would prove useful.
N.B. This is for a generator which builds Views and Controllers
2008 Jan 04
6
Ajax.Request: onFailure vs. onException
Hello All,
I''m trying to capture the exception message that my server application
is providing in response to my Ajax.Request. However, I''m confused as
to when onFailure is fired vs. onException. The onException handler has
access to the javascript exception object and I''d understood that it was
only called when the dispatch fails. Not sure what exactly that means
2008 Jun 18
2
Trouble with email attachments
I''m running rails 2.0.2. I am trying to send an email using the
ActionMailer. The email is delivered when sending with or without an
attachment. My problem is that when I send an attachment, the body of
the email is blank. I only get an email with an attachment.
I''ve tried a couple different ways using the attachment method:
attachment :content_type =>
2007 Dec 03
1
install and mysql issues
this is the versions i have installed:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Mark Johnson>ruby -v
ruby 1.8.6 (2007-03-13 patchlevel 0) [i386-mswin32]
C:\Documents and Settings\Mark Johnson>rails -v
Rails 1.2.6
C:\Documents and Settings\Mark Johnson>mysql -v
ERROR 1045 (28000): Access denied for user
2005 Jul 16
2
Applying css style to a link_to
...ng
link_to?
I''ve tried
<%= link_to("details", :class => "details", :action => "edit", :id => event)
%>
but that creates a link which looks like
/admin/events/edit/3?class=details
which is not what I''m looking for.
Kyle Heon
kheon-Wuw85uim5zDR7s880joybQ@public.gmane.org
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails
2006 Aug 20
0
Re: Problem with overriding rails accessor methods
On 8/20/06, Paul Corcoran <prcorcoran-Wuw85uim5zDR7s880joybQ@public.gmane.org> wrote:
>
>
> Hello all,
>
> I just encountered something that is not what I would expect. I
> overrode an accessor method in my model class and within this method I
> did a "super" call which failed. Of couse my real method would be doing
> mor...
2007 Nov 20
1
:allow_nil validation vs. blank?
I think I must be doing something wrong... when a form returns params
to the controller, empty fields appear to be returned as blank, not
nil. so what''s the point of an :allow_nil=>true setting on a
validation? it fails because blank is not the same as nil.
i would expect either returned empty fields to be nil, or :allow_nil
to really be :allow_blank. otherwise i have to do a search
2005 Jun 18
1
Running general purpose queries
Hi,
I''m considering migrating my site from php to RoR. I''ve installed RoR gone
through the onlamp tutorials and made the recipie/todo list sample sites and
tinkered with a few of my own. I understand the examples that use models
and scaffolding to map tables, but I''m having a little trouble understanding
how to handle general purpose queries. A few people have
2007 Dec 29
2
needs to have method `_load'
I''m getting an exception that I''m fairless clueless about. It occurs
when I run a "create" action but neither my action or before filters
are hit before this exception. I''m hoping someone can give me a clue.
I suspect it has to do with marshalling objects in the session - maybe
TzTime is not capable of being stored in the session. I hope that''s
not the
2007 Oct 08
3
test not rolling back
For testing, I use:
self.use_transactional_fixtures = true
This should cause a ROLLBACK for each test case. If I run a single
file, foo_controller_test.rb, it works as expected. I see BEGIN and
ROLLBACK 8 times in the log files. But if I run:
rake test:functionals
I get 3 COMMITs, 196 BEGINS and 193 ROLLBACKs. The code in fixtures.rb
that deals with this is :
def
2007 Nov 20
4
link_to_remote style
I am trying to use link_to_remote to update a div tag with some
content. This part works fine. The thing I am having an issue with
is that I am trying to format this link with a ''class'' tag and it is
being ignored. Can anyone shed some light on this? I have tried
brackets in different places with different options and tried other
variations with no luck. I am guessing my
2007 Sep 02
4
unit test failing
I have unit tests set up with "self.use_transactional_fixtures =
true", so each test should roll back.
Run individually, all my tests succeed. But running "rake
test:units", I get the below error in 5 test cases. I''m not sure how
to solve this since I''m not sure how to debug tasks run thru rake. Any
ideas are appreciated.
1) Error:
test_delete(OrderTest):
2011 Sep 02
3
problems with oracle xe server connection
i''m working on ubuntu 11.04; i need to create some rails application
with oracle database on local computer.
i installed: ruby 1.9.2, rails 3.1, oracle 10g XE, rubu-oci8 2.0.6,
gem ''activerecord-oracle_enhanced-adapter'', create database user named
''orak'' with password ''orakpass'' through 127.0.0.1:8080/apex, i maked
new application
2007 Oct 15
6
Form with two buttons
Hi,
I need to make a form with two buttons. But I do wrong. And why not can
be.
form:
-------------------------------
<%= form_tag :controller => ''establishment_contents'', :action =>
''llamada'', :opMenu => opcionMenu %>
[...]
<%= image_submit_tag ("../images/incluir.gif", :op=>"addImage") %>
[...]
<%=
2005 Nov 18
2
Migrate Ubuntu Rails App to Fedora?
I developed a small RoR app on my Ubuntu laptop and I just tried to migrate
it to my "production" box which is Fedora FC3. I moved the entire rails
app. I received this error when I tried to get the first page:
[2005-11-17 15:36:00] INFO WEBrick::HTTPServer#start: pid=32546 port=3000
192.168.0.61 - - [17/Nov/2005:15:40:01 EST] "GET /freesql HTTP/1.1" 200 0
- ->
2007 Mar 13
3
Prototype question invalid error in IE6
Hi, I''m new to using Prototype and script.aculo.us. I''m trying to use
prototype to adjust an elements top margin based on the height of the
screen. I''m also using script.aculo.us to make the element move
negatively off the left of the window to create a scrolling effect. It
works fine in Firefox, but I keep getting an Invalid argument error in
IE6.
Here my margin code
2005 Apr 01
11
I want to blog!
This isn''t Rails or Ruby related, but I just need some advice and
thought I''d ask the bright individuals here. I want to start my own
blog but I''m not sure where to begin. I don''t want to get a blogger
account because I want to have my own domain. Blogger also doesn''t
have many features. My hosting service is 1AND1 so it supports php,
cgi and mysql.
2005 Aug 09
12
Eclipse with RDT
Has anyone used Eclipse with RDT
(http://wiki.rubyonrails.com/rails/show/RubyDevelopmentTools)? I have
never used Eclipse. Would it be worth my time to setup Eclipse with RDT
to create my first rails project?
2005 Dec 18
1
session temp files?
I''m running a simple WEBrick server for a small rails website. I probably
get less than 100 hits per hour. I just looked in /tmp on the server and
there are over 10,000 ruby_sess.* temp files containing:
" hash{"
flashIC:''ActionController::Flash::FlashHash{:
@used{
They''ve piled up so much that I can''t even rm -f ruby*. Bash complains