search for: is

Displaying 20 results from an estimated 43 matches for "is".

2007 Sep 17
3
doc files with attribut r for user
Hi, i upgraded from Debian sarge to etch, so from samba 3.0.14a-3 to 3.0.24 When someone creates/modify a file the user attribut is set to r (instead of rwx) so the next time a user opens the file is's on read only. What can i do so that the file keeps the attribut rwx for the owner ? Another question : the file has the rigthts : -r--rwx--- but although the user is member of the group the file opens only in read mode,...
2006 May 24
2
named routes confusion
Hi, I''m trying generate a URL from a named route like: namedroute_url(params...) but the generated route is always coming out as the first match from the routes table. The named route is defined inside a map.with_options block, but that shouldn''t matter should it? dorian -- -- I do things for love or money
2006 May 16
3
wondering how to do some clever DRYing up
...able_element: def form_sort_performers i = 1 params[:performers].each { |id| Performer.update(id, :position => i) i = i+1 } render :nothing => true end but, I have about 6 things that all need the same basic method (Producers, ImagePersonnel etc...) is there a way I can somehow move this into the application controller and run it generically such that it takes a Model as an argument, something like: def form_sort(model) i = 1 params[:#{model}].each { # would need to pluralise |id| #{model}.update(id, :position => i)...
2006 Jun 07
1
railstidy
Hi there, anyone had any trouble with railstidy? I''m using it on 1.1.2 just to tidy my output and I get a server error everytime, but the only log message I get is: FastCGI: incomplete headers (0 bytes) received from server "/var/rails/dev/public/dispatch.fcgi" I have: after_filter :tidy def tidy RailsTidy.filter(response) end ...in my application.rb and I can get an error response out of it if I put some trash instead of ''resp...
2006 Apr 28
2
tests and login_engine
Hi there, I just started writing tests today after some months of using rails (slap wrists). I seem to be getting the hang of things, but I''m hitting a wall when it comes to functional_testing pages protected by login_engine/user_engine. all my assertions come back with: Expected response to be a <:success>, but was <302> Is there a way I can login from within a...
2006 Mar 02
2
url_for_file_column not returning correct path
I added this test towards the end of the included file_column_helper_test.rb that shipped with the file_column plugin: def test_url_for_file_column_different_root_path Entry.file_column :image, :root_path => File.join(RAILS_ROOT, "public/files") e = Entry.new(:image => upload(f("...
2006 Mar 29
1
load testing
...g on apache2 with fastcgi? I have an app running circa 3000 page requests per day, most of which are static pre-cached files and fastcgi seems to be coping well so far (crosses fingers) but I would like to be able to work out my server limit. Currently I have the following in my apache conf: FastCgiServer /var/rails/production/public/dispatch.fcgi -initial-env RAILS_ENV=production -idle-timeout 120 -processes 1 but curiously this seems to spawn 2 processes, only one of which ever seems to be used. I suppose I just want to know what will happen on the days we spike, and I''m not sure ho...
2006 Jan 18
1
using unique varchar instead of id
Hi, I just signed up so ''hello everybody''. As the title suggests, I was wondering if there was an easy way to specify that I want all actions/controls to be based upon a particular parameter rather than :id (in this case :unique_name). I don''t :id to appear in URLs or elsewhere, I want it all to work from :unique_name. It seems like something that I should be able to do globally for a project, but I''m not sure where to start. thanks dorian -- I do things for love or money -- +44 (0)7941...
2011 Jul 21
2
Many Xen related bugfixes and enhancements in RHEL 5.7 / CentOS 5.7
Hello, RHEL 5.7 has just been released, so here are some interesting Xen related bugfixes and enhancements in el5.7: Overview of Xen update in 5.7: http://rhn.redhat.com/errata/RHBA-2011-1070.html Technical notes about Xen changes in 5.7: https://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/5.7_Technical_Notes/xen.html Also kernel has a lot of fixes and updates: http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/5.7_Technical_Notes/kernel.html Cheers, -- Pasi
2005 Jan 13
0
Samba 3.0.9 PDC and ldap sync
...ion of samba password and ldap password. Each time a Windows Client do a password change the server samba produce the error [2005/01/13 16:26:06, 2] passdb/pdb_ldap.c:ldapsam_modify_entry(1572) ldap password change requested, but LDAP server does not support it -- ignoring I have checked permissions on attribute userPassword for ldap user used by samba for ldap binding. Is's all right, (infact with 3.0.7 the entire system worked perfectly). I've already checked the ldap's log at many differents debug levels but i didn't find any trace of denying permission or similar. I...
2006 Mar 24
10
innodb vs myisam
Hi, I have been using myisam tables in mysql with rails because my client will soon want fulltext searchable content, however when I migrated my development db from schema.rb all of the tables generated were innodb. I understand that I can override this, but also like the transactions and foreign keys of innodb. So 2 questio...
2006 May 09
1
name_url in tests
...s that it''s possible to to test named routes in cases such as: asserts_redirect_to name_url(:param => "whatever") but I haven''t seen any mention of it being used with any other tests and I keep getting an error when I try and use it in assert_recognizes (see below). Is there anything in particular I have to do to get the _url functionality imported into my tests? I''m using rails 1.1.2 thanks for any pointers in the dark-arts of URL rewriting tests. dorian Test: # named routes opts = { :action => "dotest", :test => "test1...
2004 Jun 28
1
XP-client logs in, but does not load profile from server and only uses a local one.
Hi to all, i'm new to the mailing list, because i already searched the whole list and google fot this, but i could not find anything: I have set up a cute Samba 3 PDC as described here: http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection.html#id2498710 In fact the setup is nearly exactly the same. (I've just added one mo...
2006 Jan 23
2
require rmagick
...here I should be calling ''require''. currently I have: require ''RMagick'' at the top of my controller: class FilmsController < ApplicationController require ''RMagick'' but that''s giving me an error: uninitialized constant ImageList ...whenever I try and do anything. From what I''ve read it seems that this probably a failure to require. Looking for RMagick in my system I find: /usr/lib/ruby/gems/1.8/gems/rmagick-1.9.3/lib/RMagick.rb /usr/local/lib/site_ruby/1.8/RMagick.rb but do I need to specify where rails shoul...
2006 May 09
2
handling file upload onto local filesystem.
Hi, I have a multipart form upload field uploaded through <%= file_field("profile", "profile") %> Once a submit happens, the action basically does something like: profile = Profile.new(params["picture"]) This invokes the models = to method: def picture=(picture_field) ...do a bunch of assignments here end def validate ... do a bunch of validations before saving end # do the actual file handling stuff here. def after_save end My question is, is the after_save method the right place to put the Fi...
2006 May 16
4
dealing with media file formats and RMagick.
Hello, I basically have the following problem - I have a site that will allow people to upload videos. The video may be in any format - .mov, .avi, .wmv etc.. I can either use embedded Windows Media Player, or embedded Quicktime to play the files but the problem is, how do I create stills from the movies to display them as .jpg''s on my site so when somebody clicks on them, the video starts playing? RMagick only supports .avi files. Are there any other packages out there for Rails? Thanks. -------------- next part -------------- An HTML attachment...
2006 Mar 25
1
Re: Rails Digest, Vol 18, Issue 656
...lternative in-depth treatment on setting upo rails on Debian (Ubuntu, Kubuntu, ... ), may be interesting to follow through in more detail for some: The Perfect Rails/debian/lighttpd Stack... ( http://brainspl.at/pages/perfect_vps ) Victor Kane http://awebfactory.com.ar On 3/25/06, rails-request@lists.rubyonrails.org < rails-request@lists.rubyonrails.org> wrote: > > Send Rails mailing list submissions to > rails@lists.rubyonrails.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.rubyonrails.org/mailman/listinfo/rails > o...
2008 Mar 15
0
Re: CentOS Digest, Vol 38, Issue 15
Nmhxc Sent from my BlackBerry? wireless handheld -----Original Message----- From: centos-request at centos.org Date: Sat, 15 Mar 2008 12:00:07 To:centos at centos.org Subject: CentOS Digest, Vol 38, Issue 15 Send CentOS mailing list submissions to centos at centos.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.centos.org/mailman/listinfo/centos or, via email, send a message with subject or body 'help' to centos-request at centos.org You can reach the per...
2003 Dec 01
0
No subject
it were a Microsoft box... (Windoze is so stupid it'll never know the difference!) -----Original Message----- From: samba-admin@lists.samba.org [mailto:samba-admin@lists.samba.org] On Behalf Of Fred Jackson Sent: Monday, July 30, 2001 10:39 PM To: samba@lists.samba.org Subject: a question? Hi does the command line smbpasswd...
2006 Jun 01
0
overriding form helpers
...per with a version in my application helper. Whenever I try and call it from a partial I get the error: "uninitialized constant InstanceTag" I can override the text_field_tag no problem. But there''s lots of stuff I don''t understand in text_field. All I really want to do is set some common options for every text input field on my site (class, size etc...) is this possible? thanks dorian -- -- I do things for love or money