Displaying 20 results from an estimated 300 matches similar to: "Ruby/Rails users in Toronto area?"
2006 Feb 22
1
Toronto Rails Pub Nite
Monday, March 13th @ 7pm at C''est What? (67 Front St. East in Toronto, ON)
Spread the word! The inaugural Toronto Rails pub nite will be an opportunity
to meet the folks working on Rails in your community. There will be plenty
of opportunity to discuss projects you''re involved with, recruit talent, and
even find out what all of the fuss is about!
Unspace wants to support the
2005 Mar 08
1
Pluralization rules?
Is there documentation somewhere on how RoR handles pluralization? I''m
finding it head-scratching/table-thumping.
I''m playing with converting an old PHP app to RoR. I used to have a
table called "status_code" which was referenced by column "status". I
converted the "status" column to "status_id" and the table to
"statuses",
2005 Mar 08
1
Adding to model (newbie)
Sorry if this is a really lame question, I''m sure it''s something fairly
obvious, but I just can''t see it at the moment...
I''m trying to add something simple to the model for a project
management/todo list/thing. The DB has ''first_name'' and ''last_name'',
and I''d like to have "full_name" available.
So -
2005 Mar 14
1
(newbie) /tmp/fcgi_ipc ?
I am running Rails on my Mac, installed from fink/gems. I get this
error when I try to re/start Apache:
FastCgiIpcDir /tmp/fcgi_ipc: access for server (uid -1, gid -1) failed:
read not allowed
If I chmod the /tmp/fcgi_ipc directory, apache starts and everything''s
fine.
Why is fcgi_ipc in my /tmp directory? Can anyone guess why the
chmod''ing doesn''t seem to
2006 Jul 02
11
Google maps api in ruby/rails
I''ve been looking for any modules/tools that are available for using
the google maps api in rails. I found a couple of quick examples, but
not much more. If anyone knows of good sites that cover using google
maps api in rails please post it here:)
Chris
2010 Aug 20
5
country state city drop down list rails
hi every one
please tell me the recommended way to get country
state city drop down list in rails
any gem - plug-in tutorial
thanks in advance.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe
2008 Apr 09
13
submitting an ajax form via javascript not rendering
for some reason the controller is parsing everything fine, but the
return is a page instead of code execution. I have other ajax forms no
listed that are also running fine on this same page.
there are supposed to be 3 ajax events:
onblur event that calls a function to submit - doesn''t work.
There is a submit button at the end of the form - works
there is a delete image that removed the
2006 Mar 25
2
Current controller
Hello railists,
I have a list of news headers on my index page. I would like to hide
this list if current controller is ''news''.
I put to main/index.rhtml
"<% unless @controller == "news" %> list here news headers <% end %>
. This doesn''t work.
So, the question is how to get current controller name in template ?
Thank You!
--
Posted via
2009 Nov 09
3
How can I improve a Ruby on Rails code that hast a lot of SQL as strings?
Hello Railists,
I have a piece of Ruby on Rails code that has a complex SQL query (well, not
that complex, but as far as I know beyond the ORM capabilities) and for my
taste it has too many strings and harcoded values. I''d like to improve it as
much as possible, so my question is open ended, what else can I do to
improve it?
Some particular issues I have
- Is there a way to get a table
2004 May 30
1
What's wrong with this simple code???
Hi, all
I can not figure this out, please have a look and help me out.
thank you!
Note: this is in SPLUS, not R.
I have following code
***********************************
modfit<-function(yir,yew, ft) {
n<-length(yew)
yew<-yew[1:(n-1)]
yy<-yir-ft
xx<-yew-ft
n<-length(xx)
xx0<-xx[2:n]
yy0 <-yy [2:n]
xx1<-xx[1:(n-1)]
fit <- garch(yy0~xx0 + xx1+var.in.mean,
2006 Apr 28
4
Existing Tabs Helper?
Hi.
I''m going to start writting an ajax "tabs"" helper, but before starting to
reinvent the wheel (and in order to avoid DRO : don''t Repeat
Ourselves :-) ) I wish to know if there is any project for this already.
Thanks.
2006 Aug 13
4
Javascript compression / How to hook in to rails development
Hi there,
I thought it''s rather neat to use the javascript compression from
http://dojotoolkit.org/docs/compressor_system.html
This removes javascript comments and renames variables and seems pretty
reliable and effective.
For example, I keep the original htmlarea.js file from
http://xinha.gogo.co.nz/
in a file htmlarea.js.txt and it compresses from 200K to 100K. With
gzip it
2009 Jan 07
13
HTTP parse error due to an extra percent sign
If you append an extra percent sign to a URL that gets passed to
mongrel, it will return a Bad Request error. Kind of odd that
"http://localhost/%" causes a "Bad Request" instead of a "Not Found"
error.
Here is the error from the mongrel log:
HTTP parse error, malformed request (127.0.0.1):
#<Mongrel::HttpParserError: Invalid HTTP format, parsing fails.>
2006 May 24
1
Sortable: Ajax not firing?
Using Rails to generate a sortable list, I get the draggable/sortable page
elements, but Ajax never fires back the post-sorted list. (I''ve checked with
IE & Firefox, the "save this order to the DB" controller hasn''t been
called.)
The View:
<p>Drag to sort.<span id="sort_info"></span></p>
<ul id="sort1">
1999 Jan 01
1
Problems running 'R' on Windows-2000
Do you know of common problems running 'R' on Windows-2000 Pro? For some
reason, the program crashes every time I try to start 'R'
_____________________________________________________________
Jason K. Wehner
University of Chicago Graduate School of Business
jwehner2 at gsb.uchicago.edu
home: 312-938-0528
cell: 773-218-6244
2011 Apr 26
1
Public Apology to Minister Mentor Lee Kuan Yew and Prime Minister Lee Hsien Loong, Singapore
I was misconstrued as having insulted Minister Mentor Lee Kuan Yew. My
words were twisted and misinterpreted and I feel that there is a need to
explain myself and set the record straight.
[b]What really happened[/b]
It was sometime in Aug/Sep in the year 2009. The setting was in the
Tampines Central office of Asiasoft Online Pte Ltd. I was having a
***verbal*** conversation with Melvin Lee,
2009 Jun 12
5
Limit Request Body Size (Disallow very large File-uploads)
Hello all,
For the last couple of days I was trying to get my
Apache/mod_proxy/mongrel setup to limit the size of the request body.
The setup is as follows:
1.) Apache acts as a reverse proxy by facilitating mod_rewrite and mod_proxy
2.) Requests for non-static files are passed on to a mongrel_cluster
3.) We use mongrel for our Ruby on Rails application
Note that due to some restrictions we are
2017 Apr 27
2
CentOS as Guest OS on Red Hat Virtualisation 4.x
Hi all,
I have a banking customer asking if CentOS is compatible on RHV4.0 as a guest VM. Based on Red Hat?s knowledge base (see link below), CentOS not supported guest OS.
However, VMware say on their official document, CentOS is a compatible guest OS (see link below). So, in my customer's mind, CentOS cannot be used as a guest OS in RHV cause it is not compatible, which I find it hard to
2006 Jul 13
5
Does Javascript let you default input params like Ruby does?
Can you have a Javascript function with a param that''s defaulted if it
isn''t present?
function X(a, b = false, c = ''dog'') {
}
X(5) calls X with a=5, b=false, c=''dog''
X(4, true) calls X with a=4, b=true, c=''dog''
X(3, true, ''cat'') calls X with a=3, b=true, c=''cat''
?
--
Posted via
2005 Mar 04
24
Rails speed?
Hi --
(First time posting to the list...)
I''m trying out Rails on my Mac (OS X Panther, 1.6 G5). It seems...
kinda slow? I''ve even run it with FastCGI and the response time is
still painfully slow.
Is this just me? Is mod_ruby any better than FastCGI? Or is it rails?
Thanks in advance!
-- joshua