Displaying 20 results from an estimated 2000 matches similar to: "Looking for a Ruby, ROR code sample or info"
2006 Aug 09
1
GemNotFoundException installing Rails - actionpack not in the repository
Hi all,
I got an error on gem install rails which I do not understand?
What am I doing wrong?
Any help or suggestions will be greatly appreciated.
Cheers,
Onno
ttempting local installation of ''rails''
ocal gem file not found: rails*.gem
ttempting remote installation of ''rails''
pdating Gem source index for: http://gems.rubyforge.org
nstall required dependency
2006 Aug 15
1
Question on start_form_tag and get post method
Hi all,
I have a simple question about start_form_tag. It default generates
method=post. I was wondering how you could use start_form_tag to generate
method=get. Probably a simple question but one I can''t answer with the API
doc.
Thanks in advance,
Onno
2006 Mar 31
2
Model inheritance is borken in Rails1.1
following is model code in file order_payment.rb
class OrderPayment < ActiveRecord::Base
belongs_to :order
validates_presence_of :amount, :no
end
class LC < OrderPayment
end
class LC30 < LC
end
class LC60 < LC
end
class LC90 < LC
end
class LC120 < LC
end
class TT < OrderPayment
end
class CAD < OrderPayment
end
and following is error i''m getting with
2006 Feb 23
11
Need help for simple RoR code.
I try a ''hello world'' demo here,It only show a ''hello word'' on web page
you can see all my codes and structure here
http://www.smtservers.com/demo/
I want to access the ruby app like this
http://www.smtservers.com/demo/say/hello
but I get a 404 error.
Please let me know what problem the code have
I am new for RoR. I am not sure the site structure is ok or
2006 Mar 20
9
jEdit Snippets for Ruby on Rails
-----------------------------------------------------
Announcing: jEdit Snippets for Ruby on Rails
-----------------------------------------------------
I thought I''d "give a little back to the community" and whip up some
SuperAbbrev files for ruby and rhtml that mimic all of the Textmate
Rails bundle snippets.
Note: This was totally inspired by Textmate and the syncPEOPLE
2006 Feb 03
33
[ADV] Rails Recipes Beta Book is now available
I''m delighted to announce that Chad Fowler''s new book, Rails Recipes,
is now available
as a Beta Book.
This is a great title for folks who know Rails, and for folks who
want to get the most out of Rails. It contains detailed recipes for
doing real-world things with Rails, all illustrated with working
code. Some examples are drawn from Rails 1.1, the rest from Rails 1.0.
2006 Apr 04
4
Freezing Architecture-Dependent Gems such as Rmagick, Ferret, Unicode
A lot has been made recently about the need to freeze your gems for
production deployment on a shared server so your application can depend on
it''s own gem version instead of being subjected to whatever gem is installed
on the server, but does this rule of thumb come with an exception?
Architecture dependent gems such as RMagick, Ferret and Unicode have
dependencies that cannot be
2006 Dec 30
1
redirect_to(:action => ''foo'') and return
I''m not sure why this is happening, but if I do this in a controller
unless @variation && @variation.quantity > 0
flash[:error] = "Sorry, that product is currently not available."
redirect_to(:action => ''error'') and return
end
rspec tells me
2)
ActionController::DoubleRenderError in ''The Carts controller with an
2008 Nov 07
6
How to spec a (Trollop-based) binary’s internal state?
I?m trying to spec a ?binary?, and as previously discussed on this list,
I?m trying to do it ?from outside? ? i.e., by calling it with Kernel#`
and observing the (side-)effects.
Unfortunately, this doesn?t really let me spec expectations about its
internals. Let?s assume I have a -d flag and I parse it with Trollop to
set Conf.debug:
opts = Trollop::options do
opt :debug, ''Print debug
2000 Aug 24
3
What features does SWAT support? (maybe bug)
We're running Samba 2.0.6 on AIX 4.3.2.0
Is there a home page for SWAT or somewhere else that I can look to see
what smb.conf parameters SWAT supports?
I prefer editing the smb.conf file with vi, but some of the administrators
here like to use SWAT. A while back, I put an include line into the
smb.conf file to get around differences between our WinNT and Win95/98
machines. A couple
2006 Feb 23
12
RoR site structure on Apache
I try a ''hello world'' demo here,you can see all my codes and structure
http://www.smtservers.com/demo/
I want to access the ruby app like this
http://www.smtservers.com/demo/say/hello
but I get a 404 error.
Please let me know why.
I am not sure the site structure is ok or not.Please give me a help
Thanks
Mark
--
Posted via http://www.ruby-forum.com/.
2000 Aug 31
4
Execution on NT
Hello,
I try to exectute a command on my NT server from my unix server with the
following command :
smbclient \\\\monnet01\\C$ -U admin_nan -c "help.exe"
C$ is my share
admin_nan is the user
Smbclient doesn't ask a password so i get the following error message :
Anonymous login successful
Domain=[FR-MON] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0]
tree connect failed: ERRDOS
2015 May 12
1
dovecot-lda panics when postmaster_address is given on command line
Hi,
When passing a postmaster_address to dovecot-lda on the command line
with -o, it panics:
$ ./dovecot-lda -o postmaster_address=anything
lda(onno,)Panic: file lda-settings.c: line 80 (lda_settings_check):
assertion failed: (set->postmaster_address[0] ==
SETTING_STRVAR_UNEXPANDED[0])
It looks like postmaster_address has already been expanded at that point
when it's given on the
2004 Jan 29
1
Small glitch in howto
Hi list,
I'm on the way to translate the BDC Howto into french, and encountered a
too quick Yjjjp (copy+down{3}+paste).
It is in the table 6.1, last cell :
Use rsync to synchronize the TDB database files from the PDC to the BDC.
should read
Use rsync to synchronize the smbpasswd file from the PDC to the BDC.
Regards,
J?r?me
--
J?r?me Fenal - Consultant Unix/SAN/Logiciel Libre
Groupe
2004 Apr 15
1
CATIA V5 & SAMBA Problem
I'm not sure if the problem I'm about to describe is related to
configuration or a limitation in SAMBA, hopefully you'll know the answer...
We have a SAMBA server that provides Windows workstations access to CATIA V5
CAD data which resides on other NFS servers.
The SMB shared directories are all under a single directory called
'catiav5':
/catiav5
/server1
2007 Jun 21
1
pop3 creates bad index file
Hi,
When I use pop3 to log on to a (Maildir) mailbox that doesn't yet exist in the
filesystem, the pop3 server autocreates it for me. This works.
Jun 21 10:50:45 mail-04 dovecot: pop3-login: Login: user=<hwx7s at gqh7x.test>,
method=PLAIN, rip=::ffff:192.168.42.105, lip=::ffff:192.168.42.97
Jun 21 10:50:48 mail-04 dovecot: POP3(hwx7s at gqh7x.test): Disconnected: Logged
out top=0/0,
2007 Jun 12
1
vpopmail quota
Hi,
I'd like the vpopmail user database to return the quota settings for users,
instead of having to rely on the validity of the maildirsize files. It
doesn't look like this is currently possible.
Would simply adding a auth_stream_reply_add call for "quota" with a suitable
value in vpopmail_lookup be sufficient to make this work?
(the quota can be read from the pw_shell
2003 Dec 08
1
no forwardtick in filename?
I can't use a ? (forward tick, accent acute) in a filename on a samba share.
Is this an error or intention?
If i copy a file with ? to the samba share the result will be, the tick
will be converted to a capital Z with back and forward tick on it and
the rest of the filename is dropped.
samba 3.01rc1
[global]
dos charset = CP850
unix charset = ISO8859-15
display charset = LOCALE
[raid2]
2003 Dec 15
1
Group mapping problem
Hi,
I have Samba 3 as Domain controller. From a Windows 2000 Professional I share a folder (c:\test) with access permission for certain domain user (MYDOMAIN\yo). I can access to that folder from other w2000 with that user validated into it. If I add that user to a unix group (domadm) and map this group to Domain Admins (net groupmap modify ntgroup="Domain Admins"
2004 Apr 10
2
Samba + Domino LDAP
Hi all,
I want to use the Domino LDAP to authenticate Samba users over it.
Did anyone knows, if Samba and Domino LDAP works with together???
If yes, where can I find something about it respectively anyone can tell
me how it works?!
Thanks
Andreas