Displaying 17 results from an estimated 17 matches for "ganu6spqydw".
2006 Mar 15
4
sub-selection with $
Hello,
I have 2 navigations ( mainnav and subnav ) with 2 lists
List have same names ( li0 li1 li2 )
What is the best way to select li1 of subnav with prototype 1.4 in this
case ? I just want to hide/show it
Thanks
<div id="mainnav">
<ul>
<li name="li0"><li name="li1"><li name="li2">
</ul>
</div>
<div
2005 Jan 17
5
how to override rails errors messages?
hi,
how can i override rails errors mesages (that are in english) to
display them in an other language?
thanks
hangon
2005 Mar 08
19
find_by_sql ON STEROID possible?
find_by_sql BREAKS THE OOP BEAUTY and perhaps we can solve that.
NAMING CONVENTIONS can perhaps make find_by_sql much more clever.
lets imagine that relation:
publishers <- books <-> authors_books <-> authors -> universities (can''t find
something else than university for that last association :) )
imagine we want to fetch every book and every associated
2005 Dec 22
5
How to access request''s raw_header: HTTP hdr sent by browser
Is that something possible, i''ve been trying to get to the RAW headers
sent during a GET request on a page, and couldn''t find where. I''m using
webrick.
Here are the tries I did to get access to it:
class ZController < ApplicationController
def info
#render :inline => request.inspect
#render :inline => raw_header.inspect
#render :inline =>
2006 Mar 01
1
HowtoInstallOnTextDrive : run command ?
Hello,
I try to install my local little site on my textdrive account.
So I read this :
http://wiki.rubyonrails.com/rails/pages/HowtoInstallOnTextDrive
But I''m very newbie, and I don''t understand the line :
*1. run the command “rails sites_directory/app_name”*
How "run" the command ? From what app ? From where ?
Can someone could tell me what are the software I
2006 Feb 08
0
How to call a basic function ( like url_for ) from a class inside the /lib folder ?
Hello,
I try to use url_for from a class inside the lib folder
class Test
def self.mytest options
url = url_for( options )
end
end
But I have this error :
undefined method `url_for'' for Test:Class
How can I use it ?
Thanks
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2006 Feb 09
2
How to call a standard function from a class inside the lib folder ?
Hello,
I try to use url_for from a class inside the lib folder
class Test
def self.mytest options
url = url_for( options )
end
end
But I have this error :
*undefined method `url_for'' for Test:Class*
How can I use it ?
Thanks
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2005 Dec 29
1
Calling helper from a controller
I try to call a helper define inside the *application_helper.rb* but I
obtain an error.
Is it possible ?
There is an other way ?
Thanks
2005 Jan 17
0
negative has_and_belongs_to_many possible?
hi,
is there a possibility to tell activerecord in a
has_and_belongs_to_many relation that the intermediate table has to
contain the NON ASSOCIATED records instead of the associated records?
2008 May 15
0
RoR, Django and Seam source code analysis
Hi,
In the great tradition of web framework comparisons ;-) : here is a
blog entry focused on a source code analysis of RoR, Django and Seam:
http://www.mininglabs.com/2008/05/13/web-frameworks-a-free-software-oriented-study
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To
2012 Mar 13
0
#08S01Bad handshake
Hi,
My RoR webapp was working fine until this morning. I run the App on a
Ubuntu 10.04.4 LTS server and nothing seems to have changed during the
night but now I get a #08S01Bad handshake everytime the App tries to
access MySQL.
Apache is running fine
The MySQL server is running fine as I can access it via phpMyAdmin and
via an Access frontend
I googled a lot but nothing helped much until now.
2008 Jul 08
0
Bug with serialized columns in console ?
Hi,
I recently added 2 serialized columns in my class Server :
class Server < ActiveRecord::Base
serialize :visa, Hash
serialize :appli, Array
...
No problem in my controller and my application and everything works as
expected : Excel exports following the "visa" Hash or "appli" Array
are ok.
But since I added the visa Hash, I can''t load the record with
2006 Dec 25
1
TextMate command to display ActiveRecord model attributes
I''ve written a TextMate command bundle that reminds you the database
columns of an ActiveRecord model displaying them in a tooltip just by
selecting the model name (for example "Account") anywhere in your
code and hooking up the bundle (the way you''ve chosen in the bundle
properties).
It''s available here:
2006 Feb 27
0
update a second div with Ajax.Updater, when Ajax.InPlaceEditor has just finished to modify another first div
Hi,
I''m a newbees in javascripting with scriptaculous, but I wonder someone
to help me on that simple (not for me of course !) case :
I''d like to update a second div with Ajax.Updater, when
Ajax.InPlaceEditor has just finished to modify another first div ? How
could I do this in this kind of code :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2005 Dec 30
4
Convert "é" in "é"
I try to find an function to convert characters in html chars. "é"
become "é"
There is something in RoR 1.0 to do that ?
2007 Dec 05
5
Active Record, Migration, and Translation
Hi,
I think the columns and table in migration should be able to have an
optional "display_name" set manually. Something like:
create_table :people, {display_name => "Personne"} do |t|
t.column :first_name :string, :display_name => "Prénom".
end
Let me explain my point of view:
Rails is a framework made to write programs in English. You see it when
you