Displaying 20 results from an estimated 900 matches similar to: "E-mail validtor??"
2006 Mar 14
8
email address parse
hi all
how to parse such email string to a array:
#--------------------------------------------
"joe black"<joe_1@joe_black.com> joe_2@joe_black.com,
joe_3@joe_black.com
#--------------------------------------------
seems emails from user input include various format. and i have to
split them to a array.
any idea?
regards.
--
Posted via http://www.ruby-forum.com/.
2006 May 30
7
RailsConf in London
<gloat>Well, that''s me booked in for RailsConf in september :0)</gloat>
Who else is going?
Steve
2006 May 15
3
FXTextField - posSelected?(pos)
Hi,
I wonder if am facing a bug or something else
On a FXtextField, I want to detect the low and high pos of the selected string
example: the text is: 0123456789
The selected string is : 234567
first = last = -1
atext.text.length.times do |pos|
first = pos if atext.posSelected?(pos) and first < 0
last = pos if atext.posSelected?(pos)
2006 May 05
16
Diff tool for OSX
I''ve looked for DIFF tools for OSX but haven''t found anything good
yet. Tried guiffy (http://www.guiffy.com) but it''s very slow and the
folder comparison doesn''t indicate a change until you drill down to
the level with the difference which kinda defeats the purpose.
I''m missing TortoiseSVN and the diff tool that comes with it. Any
suggestions for
2007 Dec 12
4
Route and patterns
In a wiki, routes are handling
web_index /:web {:controller=>"wiki", :action=>"index"}
web_topic /:web/:topic {:controller=>"wiki", :action=>"view"}
action /:web/:topic/:action {:controller=>"wiki"}
That is the default action is "view".
Two questions:
1. Can I constrain the patterns allowed for
2016 Apr 11
4
[PATCH 0/7] Fixes for lib-mail message-address
On Thursday 07 April 2016 16:11:12 Timo Sirainen wrote:
> On 06 Apr 2016, at 17:29, Pali Roh?r <pali.rohar at gmail.com> wrote:
> >
> > On Monday 04 April 2016 19:35:22 Pali Roh?r wrote:
> >> On Monday 04 April 2016 19:31:06 aki.tuomi at dovecot.fi wrote:
> >>> Can you please send them directly to me, please?
> >>> ---
> >>> Aki
2016 Apr 06
3
[PATCH 0/7] Fixes for lib-mail message-address
On Monday 04 April 2016 19:35:22 Pali Roh?r wrote:
> On Monday 04 April 2016 19:31:06 aki.tuomi at dovecot.fi wrote:
> > Can you please send them directly to me, please?
> > ---
> > Aki Tuomi
>
> Sent.
Received? Are patches OK now?
--
Pali Roh?r
pali.rohar at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
2006 Nov 06
2
grep searching for sequence of 3 consecutive upper case letters
Hello,
I need to identify all elements which have a sequence of 3 consecutive upper
case letters, anywhere in the string.
I tested my grep expression on this site: http://regexlib.com/RETester.aspx
But when I try it in R, it does not filter anything.
str <-c("AGH", "this WOUld be good", "Not Good at All")
str[grep('[A-Z]{3}',str)] #looking for a
2011 Nov 22
3
making scatterplot easier to read
Dear R users,
do you know an easy way (other than star plot) of making several points
laying one over another visible? Is it any simple way of increasing such
"multipoint" symbols - or shifting their positions randomly to make several
points in one place visible?
Cheers,
sz.
--
Szymon Drobniak || Population Ecology Group
*Institute of Environmental Sciences, Jagiellonian University
2006 Mar 08
3
attribute or instance method or what?
Hi!
Uhm are attributes just something like additional members of a class,
other than those that come from the names of columns in the table?
I''ve got images table, which has ''name'' column. I''ve added support for
creating thumbnails out of uploaded pictures and i''d like to have an
easy way of accessing them in my views.
How to do it? I.e. my image
2006 Mar 09
7
How to restrict access to admin part of the page?
Hi!
What is the easiest way to restrict access to some part of the page?
In php i just put .htaccess and .htpasswd files in /admin folder and it
worked.
Now i''ve got one admin folder for controllers, one for views, public
folder and i''m not really sure if it''s still possible. So what is the
easiest way? I don''t have any user logging features on my site,
2006 Mar 17
6
Problem with ruby 1.8.4 One-Click Ruby Installer on windows
Hi!
Previously i had ruby 1.8.2 (One-Click Ruby Installer) installed, but
the rdoc and plugindoc didn''t work, so i decided to install ruby 1.8.4.
I had uninstalled ruby 1.8.2 (uninstaller deleted the whole ruby folder
with radrails and everything, just great) and installed One-Click Ruby
Installer 1.8.4-16 preview3.
Then installed rails, rmagick, radrails, created docs for trunk
2006 Mar 08
19
Creating multiple rows with one form
Hello. I''ve been trying this out for the past two days and I can''t seem to
get it. I''m going to have a page where you can upload x amount of images at
once. Lets say 10 images need to be uploaded, all with a caption.
I''d like to have a browse button to choose the file, then the caption. Now,
if I put 10 of them in one form, fill them all out and submit, I get
2006 Mar 24
7
Question about flash
Hi!
I''ve got a search form, which calls search action. If the result set is
empty, i set flash to display a proper message. At the end search action
calls "render :action => list".
If the search action returns empty result set and the message is
displayed, but later user changes searching conditions, calls search
again and result set is no longer empty, the message is
2006 Mar 22
4
How to write this SQL query?
Hi!
Is there rails version of "where column in (value1, value2, ...)"?
I know i could do OR many times, but this way is shorter.
I''m ruby/rails newbie, so i have a problem with converting the hash,
which i''m receving from the search form into the string for :conditions
in find method.
Could i instead of creating one, complicated (for me) query do something
like
2006 Mar 13
6
Specifying none/single/many conditions at the same time
Hi!
It''s rather ruby question than rails...
I have a single ''list'' action where i call paginate method.
I can receive none, 1 or 2 variables that specify conditions for
paginate method.
How to write the code so i can call paginate without conditions if all
conditions variable are nil, with a single condition if one of
conditions variables is not empty and with 2 if
2006 Apr 08
5
Moving my site into production mode - general questions
Hi!
I''ve just finished my ror site and i''d like to move it into production
mode.
Now it runs on linux/apache 1.3/cgi.
1. Can i use fcgi in development mode? I''ve read somewhere that because
of caching it causes memory leaks and fcgi shouldn''t generally be used
in development. Does plain cgi also causes memory leaks in development
mode?
2. Does rails
2006 Apr 01
3
Determine image width of png, gif or jpg?
Hi all
In PHP I have a neat function:
http://ch2.php.net/function.getimagesize
With it I can easily determine the dimensions of an image file. How can
I do that in RoR?
Thanks for help. Greets,
Josh
--
Posted via http://www.ruby-forum.com/.
2006 Apr 07
3
How to wait for an image to be loaded?
Hi!
I''m making a simple gallery, which uses simple javascript for changing
''src'' attrbiute of ''img'' element.
How to wait for an image to be downloaded completely before trying to
display it and while browser downloads this image display a spinner gif
or ''please wait'' message etc.?
Something like this:
2006 Mar 08
3
Many renders in one view?
Hi!
This was probably asked many times, but i can''t find it anywhere.
How to render in my view many actions (sometimes from different
controllers)?
So i.e. I will have user status/login form at the top, form for
creating/editing some data on the left and a list of these data elements
on the right and some other things at the bottom?
Can i put some of this stuff to the layout? So i