search for: jaccal

Displaying 20 results from an estimated 33 matches for "jaccal".

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 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 Mar 10
3
Ruby on Rails developers in Singapore?
...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 Mar 31
2
How to secure web services created by ActionWebService?
...ut 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 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
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 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 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 Oct 28
0
Problem starting up the drb server
...from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in `require'' from /home/saush/reachible/config/../script/backgroundrb/start:68 Can anyone from this list help? Thks! -- CHANG Sau Sheong http://blog.saush.com - brain dump http://jaccal.sourceforge.net - smart card toolkit http://screensvr.rubyforge.org - Flickr screensaver http://ced.dev.java.net - Chinese-English Dictionary http://www.projectible.com - online project publishing Fellow, Singapore Institute of Arbitrators -------------- next part -------------- An HTML attachmen...
2006 May 02
0
Web mashup tutorial using Ruby on Rails
...created a simple job search mashup with Indeed, Google Maps and Yahoo web search service. The tutorial is at http://saush.com/blog/?page_id=48 The source code is available at the last writeup. Comments and feedback welcome! -- Sau Sheong http://blog.saush.com http://www.projectible.com http://jaccal.sourceforge.net -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060502/982ed7c9/attachment.html
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 Apr 13
1
Read User Agent
Does anyone know how to read the user agent from a controller ? Thanks -- Posted via http://www.ruby-forum.com/.
2006 Apr 17
3
Please help : how to link_to() and css styles ?
Hello, I''m having hard times on a very simple problem : how to provide a css class to a link_to tag ? I''m using this : <%= link_to ''Cancel'', :action => ''list'', :class => ''btn-cancel'' %> and RoR produces this : <a href="/gallery/list?class=btn-cancel">Cancel</a> I''ve read the doc
2006 Apr 17
2
Simple Problem
Is it possible to select a portion of string? For example, in many websites, they give the first paragraph in the main page and link for the article on the other page. I remember this is available in PHP. Any help is appreciated. Thanks Rizwan -- Posted via http://www.ruby-forum.com/.
2006 Mar 10
2
Syntax for <input type=hidden> in rhtml????
Hi, I am new to ROR. PLease tell me what is syntax of creating hidden field in form inside RHTML file. I knonw the syntax for text box (<%= text_field ''product_item'',''product_id'', :value=>product.id%>) But I don''t know syntax for hidden field(like <input type=hidden> in HTML). Please tell me. Thanx in advance. Prash -- Posted via
2006 Mar 28
1
graphing solutions
Hi all, This might be OT. Wondering what are available charting solutions that work well with Ruby on Rails. I''ve seen reference to a few but they all seem to rely on integration with a program written in another language (requiring a seperate process per chart), Perl''s GD module for instance. Is there a 100% Ruby charting library that is freely available? Thanks, Dave
2006 Aug 04
3
is cartographer recommended for using google maps?
been doing some searches on how to get googlemaps working in a ror app. seems like cartographer is the main one? is this true? Thanks -- 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.