search for: vanek

Displaying 17 results from an estimated 17 matches for "vanek".

Did you mean: janek
2005 Oct 28
4
find_by_sql column types
Hello-- There must be a better way to do this. I have a class method in my model that finds averages and does a few calculations using find_by_sql. The problem I¹m encountering is that all computed columns from MySQL come back as type string. E.g., def self.find_averages(domain_id) if @@domain_average return @@domain_average else @@domain_average =
2005 Nov 26
6
Fuzzy searching
Hi, everyone, Just wondering if someone had come up with a good way to do fuzzy searches if you use MySQL as your database (we tried switching to PostgreSQL, but that ended up adding even more problems). Ferret sounds great, but reading through the discussion it looks like we need to solve the problem of write conflicts. I just wrote a post in ruby-talk about using KirbyBase maybe to solve
2005 Dec 20
9
Rails Configuration Question
Hello Everyone, I have been reading this mailing list for a while and am impressed with the generous help that many here are eager to provide. Perhaps someone will be able to shed some light on a configuration issue I am having. Thank you in advance for any assistance. First, system setup details: #System Setup# * OS: Fedora Core 4 running in a VMWare box on Windows XP * Database: MS SQL
2005 Dec 15
5
Action Mailer - connection refused - connect(2)
hi: I am on Mac OSX 10.4 using locomotive. My ActionMailer configuration is ActionMailer::Base.delivery_method = :smtp # or :sendmail or test ActionMailer::Base.server_settings = { :address => "mail.albertafilmworks.com", :port => 25, :domain => "brucebalmercanada.com" } ActionMailer::Base.perform_deliveries = true
2005 Dec 15
2
Checking the existance of a NOT NULL constraint from Active Record
Hi, I'd like to check the existance of a NOT NULL constraint for a given attribute using ActiveRecord. Is this possible or do I have to painstakingly query the information_schema myself? I need this for some reflection in a custom association. Thanks, - Rowan -- Morality is usually taught by the immoral. _______________________________________________ Rails mailing list
2005 Dec 15
4
rake migrate ignores '':null => false'' on mysql
I wanted to add a login string column to an existing table => I created a migration : ... def self.up add_column "members", "login" , :string, :null => false end ... remark: it shouldn''t work, as the table is not empty (=> ''login'' would be null in the existing rows.) problem: rake migrate didn''t complain
2006 Feb 19
0
Re: can store array or hash in cookies?
...to decide how to manage them depending on the needs of your application--periodically deleting old sessions (using cron) or storing sessions in a database are two frequent techniques. HTH, Kevin Skoglund > Surely there is an other way?? If not is this then not just a bug? > > Lou Vanek wrote: >> if you add this method, >> >> def cookie(name) >> @cookies[name.to_s].value if @cookies[name.to_s] && >> @cookies[name.to_s].respond_to?(:value) >> end >> >> to the CookieJar class in the cookies.rb file >> you...
2006 Jan 07
2
can store array or hash in cookies?
Hi According to rdoc: value - the cookie''s value or list of values (as an array). So, I can use arrays, briliant. But.... It does not work (at least on webrick) I wrote a controller: def check_cookies_first cookies[:chef] = {:value => ["first", "second"], :expires => Time.local (2020)} render_text ":)" end def
2005 Dec 18
8
Invoking Rails from an API
Hi, I am trying to use ruby int an embedded web server. The environment does not have the luxury of CGI or WebBrick. I find limited documentation on how to get this to work. As a test program on windows, I tried the code in the section below. I have the issues. 1. Is public/dispatch.rb the right script to invoke a rails app? If so, what is the right way to invoke dispatch.rb? 2.
2005 Dec 15
2
:session_expires usage
Hi everyone, I''m new to Rails and web development. I just bought up the Agile book and I''ve got a question about the :session_expires option. In the book, page 317, it says the :session_expires "option should probably not be used." Does anyone know why? The book doesn''t explain or give any indication as to why. In an application I''m working on
2005 Dec 19
2
Logging of Form information in production environment.
It seems that in the default Production environment, Rails logs posted form data. Isn't this a security risk? Especially since a user creation form puts this in the logfile: Processing Base#index (for 127.0.0.1 at 2005-12-18 21:03:33) [POST] Parameters: {"user"=>{"password_confirmation"=>"mypassword", "username"=>"seanwolfe",
2005 Dec 11
62
PROPOSAL: The list needs to fork (desperately).
I''d like to propsoe that the RubyOnRails mailing list forks into three lists. PROBLEM: * The list is getting swamped with traffic, making it hard to use and even harder to follow. * Many, many messages get lost, with no reply. * Due to the overwhelming traffic, it''s hard for beginners to get the help that they need, since their messages get lost in the shuffle, and
2006 Jan 14
19
Stopping WEBrick?
Is there any way to request WEBrick to shutdown besides hitting CTRL-C at the console? I''m looking for, perhaps, a script/shutdown command, or perhaps a special URL that will request WEBrick to die. It can be a command run in a different shell, or, as I said, a special URL. Anyone? Tom Harris Cisco Systems -- Posted via http://www.ruby-forum.com/.
2003 Dec 01
0
No subject
...ttp://lists.samba.org/pipermail/samba/ Hello, I'd like to ask - what can ACLs (on XFS+Samba 2.2) do for me? I was unable to find this out. I thought that I can setup rights like "john:rwx, jack:r--" but I wasn't (W2k) - I was only able to setup rwx for user/group/others :( Libor Vanek Return-Path: <degraaf@rhsnet.com> Delivered-To: samba@lists.samba.org Received: from imf05bis.bellsouth.net (mail205.mail.bellsouth.net [205.152.58.145]) by lists.samba.org (Postfix) with ESMTP id 02A724420 for <samba@lists.samba.org>; Wed, 13 Jun 2001 17:17:38 -0700 (PDT) Received...
2003 Dec 01
0
No subject
...wrong? I've checked all mailing lists and documentation and I haven't found anything about ACL implementation/usage BTW: I just realized that when I want to add more permits for any file, I see only groups, not users (e.g. I see wheel, mem.... etc.... no users) - is this OK? Thanks, Libor Vanek Return-Path: <Roger.Martensson@ite.mh.se> Delivered-To: samba@lists.samba.org Received: from mail1.mh.se (mail1.mh.se [193.10.250.34]) by lists.samba.org (Postfix) with ESMTP id 5E3AE4510 for <samba@lists.samba.org>; Sun, 20 May 2001 09:31:17 -0700 (PDT) Received: from ite.mh.se (r...
2012 Jun 18
0
XP clients cannot login after 3.5 to 3.6 upgrade
Hello, After an upgrade from 3.3 to 3.5, we ran into this bug when we tried using NTLM for authentication: https://bugzilla.samba.org/show_bug.cgi?id=7481 . To solve this issue, I am now trying to upgrade from the (latest) CentOS 3.5 packages, to the "Enterprise Samba" 3.6 packages from enterprisesamba.org. After upgrading, the SID changed, so I changed it back to the old value.
2013 May 11
2
Reg License
I don't speak on behalf of any developers, but most times it is very difficult to change the license of an open source project, as the consent of all contributors would be needed which is nearly impossible. There are ways, but I don't think it is very likely. Further information about linking gpl is widely available on the net. Afaik it is always allowed to link to any library as long as