search for: sau

Displaying 20 results from an estimated 59 matches for "sau".

Did you mean: au
2006 Apr 17
4
Best place for generic utility classes?
I have some code that is simply formatting and parsing URLs and I really don''t want to associate it with a view or a controller or a model - I just want it to be available as a utility class. Where should this utility class go? I would have to import it into my controller using "require" correct? Thanks, Wes -- Posted via http://www.ruby-forum.com/.
2006 Apr 13
7
Whats the best way to achieve this?
employees HABTM projects, projects HABTM employees. I am doing a permissions page for a selected project. I know that I can get all of the employees in the system (@employee.find(:all)) or get all the employees for the selected project. What i''m trying to do is get a list of all the employees in the system and have a check box that states if they are associated with the current
2006 Mar 31
2
How to secure web services created by ActionWebService?
Hi, Does anyone know how I can go about securing web services created from ActionWebService? The manual from rubyonrails.org (http://manuals.rubyonrails.com/read/book/10) doesn''t say anything at all on this ... or do I have to implement my own access control? -- Sau Sheong http://www.saush.com http://read.saush.com http://jaccal.sourceforge.net -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060331/17d17262/attachment.html
2006 Mar 27
14
Image manipulation/resizing server-side?
I''d like to implement a system in a Rails app where I allow the user to upload an image file, and then the app takes that image and manipulates it, saving a thumbnail, small, and original size version of the file to the server. How would I go about doing that? Thanks, Jeff -- Posted via http://www.ruby-forum.com/.
2006 Apr 21
3
Documenting web services API''s
Sorry to have to post this again - it was probably under the wrong subject and went unnoticed. Is there a standard for providing user documentation for methods that I expose through we services? The default documentation (method names and return types) that appears when the user visits http://localhost:3000/backend/invoke is concise and correct, but a bit terse. How can I give my users a little
2006 Mar 10
3
Ruby on Rails developers in Singapore?
...any in Singapore, and if so would like to meet up to chat and talk shop? Maybe even form a support group for Rails, or form a community of Rails developers here? I''ve been using Rails for the past months developing an in-house web application, a port from an older application. Thks! -- Sau Sheong http://www.saush.com http://read.saush.com http://jaccal.sourceforge.net -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060310/816855cb/attachment.html
2006 Jan 17
0
asterisk.ctl limitations
.../* sockaddr_in, htons, in_addr */ #include <netinet/in_systm.h> /* misc crud that netinet/ip.h references */ #include <netinet/ip.h> /* IPOPT_LSRR, header stuff */ @@ -87,6 +88,7 @@ /* handy stuff: */ #define SA struct sockaddr /* socket overgeneralization braindeath */ +#define SAU struct sockaddr_un /* */ #define SAI struct sockaddr_in /* ... whoever came up with this model */ #define IA struct in_addr /* ... should be taken out and shot, */ /* ... not that TLI is any better. sigh.. */ @@ -149,12 +151,16 @@ unsigned int wrote_ne...
2006 May 16
5
Google Map problems
I followed the setup from http://cartographer.rubyforge.org/ but keep getting this error - NoMethodError in Sandbox#map Showing app/views/layouts/sandbox.rhtml where line #4 raised: You have a nil object when you didn''t expect it! You might have expected an instance of Array. The error occured while evaluating nil.[] Extracted source (around line #4): 1: <html> 2: <head>
2006 Apr 28
6
[OT] Ruby ftp client for windows
I know this is off topic, But, my boss has tasked me with finding a better ftp client than the one in Windows XP. Is there a Ruby client that can recover dropped connections, ( a resume feature)? Would be nice if it could handle secure/ encrypted transmissions as well? Failing that, can anyone recommend a good scriptable ftp client for the Windows plaftorm? -- Best Regards, -Larry "Work,
2006 Apr 21
8
web services and dealing with before_filter
Hi all, I''ve got a Rails app with a ApplicationController that looks like this: class ApplicationController < ActionController::Base before_filter :authorize, :except => :login def authorize unless session[:user] flash[:notice] = "Please log in" session[:jumpto] = request.parameters redirect_to :controller =>
2006 Jul 18
5
SQL query question
Hello, I know it''s off-topic. But I''m sure you are using SQL and can help me ;) I''ve a table CARS and a table KEYS and a LOCKS table. CARS id|name 1|audi 2|ford 3|mazda 4|porsche ... KEYS id|car_id|lock_id 1|1|1 2|2|1 3|2|2 4|3|1 5|3|2 6|4|1 7|4|2 8|4|3 ... LOCKS id|name 1|main 2|spare 3|engine ... A car can have many keys. Keys are for different locks. How can I
2006 May 23
8
ad-hoc query
How do you run an ad-hoc query that does not belong in any model? I thought it was something like ActiveRecord::connection.find("my query..."), but I can''t seem to find the documentation on it. I know I''ve seen it somewhere before, though. thanks, Jeff -- Posted via http://www.ruby-forum.com/.
2006 May 15
11
can you explain this benchmark?
I want to load about 14000 words (a subset of /usr/share/dict/words) into a MySQL table in a migration: class CreateWords < ActiveRecord::Migration def self.up create_table :words, :force => true do |t| t.column :word, :string end say_with_time ''loading words...'' do words = File.join(RAILS_ROOT, ''db'',
2006 Apr 13
2
Legacy database with varchar2 primary key?
I rememeber seeing an article about how to cope with legacy databases where the primary key is defined as VARCHAR2. I only want read-access to the data. Does anyone have a link to such an article? Or can give advice? -- Posted via http://www.ruby-forum.com/.
2006 May 16
4
Oracle and MySql simultaneously from rails app
I searched this site on Oracle && MySql, nothing came up, so perhaps this is a new topic for this forum. I''d like to access two databases from the same application simultaneously (well, more precisely, in rapid succession, calling one first and then the other, as any "joins" will be done in the application code). One database is in MySql, the other is Oracle.
2005 Sep 14
0
session setup failed: ERRHRD
...can connect to them without problems. The workstation is running Fedora Core 4 with the stock smb client tools included in the distro. Here is the output from smbclient when run with debug level 10: Command (for your information): sudo smbmount //njord/Gemensamt gemensamt -o user=uname,workgroup=sau,uid=uname,gid=users,debug=10 passthrough options 'user=uname' mount.smbfs started (version 3.0.14a-2) added interface ip=192.168.1.5 bcast=192.168.1.255 nmask=255.255.255.0 internal_resolve_name: looking up njord#20 Opening cache file at /var/cache/samba/gencache.tdb Returning valid cache...
2006 Aug 02
2
PDC problem
...al (in Kilo) max log size = 2048 ; Nivelul de jurnalizare log level = 6 ;===== Securitate ; Clientii care au voie sa se conecteze hosts allow = 194.102.62. 10.10.10. 127. ; Modelul de securitate security = user ; Daca criptez sau nu parolele encrypt passwords = yes ; Chestiuni legate de socketuri socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 ; Interfetele pe care asculta samba interfaces = lo eth0 eth0:1 eth0:2 ; Ne limitam doar la aceste interfete si ignoram rest...
2006 Oct 20
1
Event.observe vs. element.onxxx =
What are the pros and cons of using Event.observe vs. element.onxxx = somefunction ? I noticed that a lot of sau code doesn''t use Event.observe. For example, InPlaceEditor uses this.form.onsubmit = this.onSubmit.bind(this); In my code I''ve made a habit of using the equivalent (for example): this.onSubmitListener = this.onSubmit.bind(this); Event.observe(this.form,''subm...
2004 Apr 13
2
Possible SPAM (accuracy low): Shorewall accept connection on port 139
...ox on port 139? Thanks. ------------------------------------------------------- Connex scaneaza automat toate mesajele impotriva virusilor folosind RAV AntiVirus. Connex automatically scans all messages for viruses using RAV AntiVirus. Nota: RAV AntiVirus poate sa nu detecteze toti virusii noi sau toate variantele lor. Pentru a inlatura efectele nedorite si din dorinta de a va oferi in permanenta servicii de cea mai buna calitate mesajele detectate ca fiind infectate vor fi sterse automat . Va rugam sa luati in considerare ca exista un risc de fiecare data cand deschideti fisiere atasate...
2006 Mar 12
3
Newbie: using find like a sql join query
I have a working Rails app with several related tables, but can''t find an answer to this question in the Dave Thomas Rails book. Imagine for example: table departments with columns: id, department_name table employees with columns: id, department_id, employee_name and of course the employees table has a constraint foreign key (department_id) references departments(id) So this is