Displaying 20 results from an estimated 400 matches similar to: "Railsday 2006"
2006 Nov 04
6
Javascript form validation for In place editting in scriptaculous ?
Is there a way by which I can do form validation for form generated by In
Place Editting of scritaculous?
The reason is, I want to avoid server roundtrip for checks which I can
perform at browser.
Regards,
Jatinder
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060828/ca882668/attachment-0001.html
2006 Jul 06
5
Single table inheritance
I''m having a class called Person, with subclasses as goalkeeper,
forward, defender.
Now a person can be a forward as well as a defender or a goalkeeper.
I want to use single table inheritance like :
class Goalkeepr < Person
end
And not have multiple boolean columns like in my people table like is
is_goalkpeer, is_forward, is_defender.
How do I go about it ?
Thanks,
Pratik
--
rm
2006 Jul 24
6
error_messages_for not working
I have the following code and I am not able to get it working. The error
message is not coming on the top, it is just getting displayed on a
different page if I dont have the rescue block commented at the bottom.
Model: user.rb
require "digest/sha1"
class User < ActiveRecord::Base
validates_presence_of :eaddress, :fname, :passwd, :pcode, :country,
:day, :year, :month, :gender,
2006 Jul 20
16
Juggernaut Released - (a.k.a Armageddon)
I''ve just released Juggernaut - a plugin for ruby on rails.
Check out the site: http://juggernaut.rubyforge.org
I?ve also finished a demo that illustrates some of Juggernuat?s
capabilities. You can sign up for an account here:
http://alexmaccaw.no-ip.info:3500/login/sign_up . It might be a tad slow
as it?s running from my home machine.
Juggernaut for Ruby on Rails initiates a flash
2006 Jun 30
3
@foo = Bar.new(params[:foo])
While doing @foo = Bar.new(params[:foo]) in a controller, the
application is open to injection attacks.
For example,
My model has following attributes :
name
password
admin - boolean
Now, if on my form I''m just acception name & password, and doing @foo
= Bar.new(params[:foo]) in my controller, someone can just enter
following in form :
<%= text_field ''foo'',
2006 May 23
2
Dynamic database configuration ?
Hi,
I''m trying to run typo in multi user mode outside the box ( without
making too many modifications in core typo code ). I want to determine
database settings dynamically using subdomains. Could someone guide me
to the right direction ?
Thanks,
Pratik
--
http://www.freeonrails.com - Free as in beer !
2006 Jun 20
3
Maintaining same session for a user across different PCs
Hi,
I''m trying to make a simple shopping cart, where I want to maintain
state when a use logs in from different location. Consider the
following :
1. ''foo'' logs in from home pc and add ''bar'' item to the cart.
2. ''foo'' goes to office and logs in from office PC.
3. Now I want only one session for ''foo'', so that when
2005 Jun 06
14
Handling Images And Rails
On my website people will be able to upload images of themselves. I
was wondering how people are presently handling uploading, resizing
and optimizing images in Rails? Do you use a specific piece of
software to do it? What would you guys recommend? Any code from
RailsDay? :-)
Also, do you guys store the images in the DB or just as files? What
do you suggest? What are the pros and
2006 Jun 20
0
Re: Railsday 2006 (Derek Haynes)
I wrote a small personal budget tracking system for railsday.
Check it out at: http://www.rubyupdate.com/signup
Cheers,
Carl.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060620/b445b545/attachment.html
2006 May 29
14
Jabber Powered Rails Chatroom
For those who cant access IRC, or just looking for a quick browser based
alternative, i started an open jabber powered webchat for rails. Hopefully
this will be a nice alternative for people to go to ask questions, get some
help, offer some help, etc.
I hope the community enjoys it, just trying to give a little back for all
the hard work.
It can be accessed here
http://jabber.dufftech.com
2006 Sep 25
5
Ruby LSAPI 1.9 + LSWS 2.2.2
Hi,
If you have been using or evaluating LiteSpeed web server + Ruby LSAPI
setup for Rails application, please make sure your are using the latest
release, Ruby LSAPI 1.9 and LSWS 2.2.2. We have been fixing a few bugs
that causes DB connection errors, incompatibilities with WEBrick/Mongrel
and ruby process management issues, currently, all bug reported has been
addressed in timely manner and
2006 Jul 15
3
Why app/helpers are not app/view/helpers ?
So that we can write controller code inside helpers ? are we supposed
to do that ?
-Pratik
--
rm -rf / 2>/dev/null - http://null.in
"Things do not happen. Things are made to happen." - JFK
2006 Apr 15
9
Mongrel in Production ?
Hi Everyone,
I was setting up Lighty+Fcgi on our server for last *couple* ( read
zillion ) of hours. I had posted my problems in my previous email. But
all in vain..
So, for time being, I switched to Mongrel. And the performance seemed
quite good. This is the first time ever I''m using mongrel ( Awesome
stuff ZedShaw..Thanks! ). I''m wondering if there are many people
around
2010 Jun 07
3
Very OT: World Cup Statistics
Hello,
Sorry for the very Off TOpic post, but I need some data on past football
(soccer) world cups. I'd like to find (or calculate) the time to the
first goal of each match (where a goal was scored).
I''ve looked at the uefa website and can't find what I want, maybe
someone here can help ?
Thanks
Paul.
2007 Sep 25
21
form_for and partials
I love form_for, but I really hate
<% form_for :person, @person, :url => {...} do |f| %>
...
<%= render :partial => ''form'', :locals => {''f'' => f}
...
<% end %>
I''ve been thinking of instead allowing
<% form_for :person, @person, :url => {...} do |f| %>
...
<%= f.partial ''form''
2006 Mar 02
4
Instance variables in Javascript param
How can I make this work ?
<a href="#" onclick="new Effect.Fade(@div_id)"></a>
@div_id is an instance variable ?
TIA
--
Posted via http://www.ruby-forum.com/.
2006 Jun 04
11
Hosting images : DB or File System
Hi,
I''m developing an application where I''ll have to store a lot of images
coming from the users. And I''m still not sure if I should store them
in MySQl as blob or just store them on filesystem.
If I store them on filesystem, how to scale when I''ll have to have
multiple servers ?
Thanks,
Pratik
--
rm -rf / 2>/dev/null - http://null.in
2006 Jul 21
9
multi-server rails deployment
I''m building an app in rails that will be deployed on 3 different
servers but am not sure the best way to deploy it. The app is
something like Google Adwords (an online advertising program,
essentially).
ServerA is the Administration server
ServerB is the Ad server (feeds ad requests to affiliates)
ServerC is the Click server (handles incoming clicks from our affiliate sites)
All 3
2008 Jan 02
3
Submitted a patch, got pluses, what now?
Hello Rails people,
I submitted a patch recently to get rid of an annoying exception raised when
an AR
object is created - http://dev.rubyonrails.org/ticket/10556 , had some
people review it,
got some pluses... What am I supposed to do now?
Can anybody advise or just review the patch and take care of the issue?
Thanks!
--
Best regards,
Yuri Leikind
2006 Jun 21
5
Problem with observe_field
Hi folks,
I have following in my view :
===================
<div class="foo">
<%= select ''theme'', "id", Theme.find_all.collect {|t| [ t.name, t.id
] }, { :prompt => ''Select a theme'' } %>
</div>
<%= observe_field(
:theme_id,
:update => :my_style,
:url => { :action => :themelookup, :id => @space,},