Displaying 20 results from an estimated 2000 matches similar to: "creating meaningful urls, (changing default)"
2006 Jul 06
6
Help with overriding / overwriting date values in ActiveRecord to accept Euro Style Date from a Textbox
Hi guys,
I''m trying to make an AR model which accepts a string data (from a
text input) in euro date format
eg
<input .... value = "23/01/2006"> ( 23 Jan 2006)
Reading the example from RDoc... i tried to
overwrite/overload/override the = function to write in the date..
Cant get it to work because .. i dont knoe what format should it
accept.. i''ve tried
2006 Jul 13
10
Book Question on RoR
Hi there,
I am a newbie and interested in learning Ruby on Rails. I see there are
2 books out there:
Ruby for Rails
Ruby techniques for Rails developers
David A. Black
and
Agile Web Development with Rails : A Pragmatic Guide (Pragmatic
Programmers)
Dave Thomas, David Heinemeier Hansson, Andreas Schwarz, and Thomas Fuchs
Which one should I get? "Agile Web Development with Rails"
2006 Jul 12
9
Instant Rails Screencast
I created a screencast showing how you can use Instant Rails to get a
fully functional Rails environment running on Windows in under 5
minutes.
Get started with Ruby on Rails in less than 5 minutes
http://mattgriffith.net/PermaLink.aspx?guid=97aa05b7-2e38-4c7d-b184-45ab2e2715b9
Right now the video is only available in Windows Media. Eventually there
will be a flash version available too.
2006 Jul 13
2
find_by_id(nil) does not always return nil
I have a model named User. When running this application from the
console I can call User.find_by_id(nil) and it returns nil. When running
this application during testing or through WEBrick or Mongrel calling
User.find_by_id(nil) returns the newest record in the database. But it
only does this the first time you call it with nil. The second time you
call User.find_by_id(nil) it returns nil.
2006 Jul 12
6
So what is REST? I don''t get how it fits in Rails
Does someone have an actual example of this? I saw DHH''s slides where
he said that you could have your app automatically respond with HTML,
XML, atom, whatever. So far I''ve found tons of discussion on REST and
CRUD in Rails, but I haven''t seen anything that actually shows me what
it all is. There''s simply_restful, which apparently makes things
easier...I
2004 Jan 10
3
return() undocumented (PR#6424)
Full_Name: Scot Wilcoxon
Version: 1.8.1
OS: Linux
Submission from: (NULL) (209.98.144.16)
return() is not documented.
It should also be mentioned in the R Reference section for function().
Apparently the last result of a function is the return value from a function,
except when the function is terminated with a return() with an argument.
2006 May 09
7
Problem Installing Freebsd 6.0 64 bit
I can't install freebsd 6.0 STABLE amd64 on my notebook:
HP Pavilion 2420la AMD Turion ML 32 , 1024 RAM, 80 GB HD, ATI
Radeon XPRESS 200M.
I try all modes , default, whitout acpi, safe mode. In all the cases after the
next message the installation doesn't work:
timecounters tick every 1000 msec
Linux ELF exec handler install
lo0.bpf attached
I installed linux with parameter noapic
2002 Feb 26
1
Locale problems on Solaris
Hi there.
With OpenSSH 3.0.2p1 on Solaris, the locale does not appear to get set
correctly at login, as it does with, say telnet:
/etc/default/init:
TZ=GB
CMASK=022
LC_COLLATE=en_GB.ISO8859-1
LC_CTYPE=en_GB.ISO8859-1
LC_MESSAGES=C
LC_MONETARY=en_GB.ISO8859-1
LC_NUMERIC=en_GB.ISO8859-1
LC_TIME=en_GB.ISO8859-1
When logging in via SSH:
scot /home/scot > locale
LANG=
2006 Jul 13
2
EmacsRails cheat sheet
Hi
I''ve compiled a small cheat sheet for Emacs-Rails. It can be found here:
http://os.ologix.com/emacs-rails-cheat.pdf
--
Ola Bini (http://ola-bini.blogspot.com)
JvYAML, RbYAML, JRuby and Jatha contributor
System Developer, Karolinska Institutet (http://www.ki.se)
OLogix Consulting (http://www.ologix.com)
"Yields falsehood when quined" yields falsehood when quined.
2016 Feb 27
4
installing xen on c7
On 27/02/16 01:41, Scot P. Floess wrote:
>
> From George's original email, I had to:
>
> * Install centos-release-xen from centos-extras
>
> Then a yum update followed by a yum install xen.
>
> That worked for me...
>
i had to do something similar, but my question is - one cant run xen
without the kernel, so why not have the xen package require the xen
kernel
2016 Feb 22
2
Garbled screen after RAM Scrub on boot
Yes I usually work headless, but I have been setting it up from new, so need to see what is going on.
Regards
Francis
From: "Scot P. Floess" <sfloess at nc.rr.com>
To: "Francis Greaves" <francis at choughs.net>
Cc: "centos-virt" <centos-virt at centos.org>
Sent: Monday, 22 February, 2016 17:02:12
Subject: Re: [CentOS-virt] Garbled screen
2007 Jul 05
5
FLAC: getting compression level using metaflac
Why isn't the compression level added in a metadata block by the flac
encoder itself (just like the encoder version)? In this way all programs
that read the file can see what compression level was used.
thx
2007/7/4, Scot Thompson <scot.thompson@cox.net>:
>
> This has been asked many times. The answer is no. I suggest saving the
> compression level into a tag for future
2003 Mar 10
2
graphics backgrounds from gray to white in png()
Hi,
I'm trying to make a png file of a histogram. I would like a white
background in the final product but end up producing a gray one, despite
setting what I think are the correct parameters. Suggestions for how to
properly set a white background would be welcome.
Thanks in advance,
Scot
# for non-lattice
> par("bg"="white")
> par("bg")
[1]
2008 Feb 01
2
the "union" of several data frame rows
Hi,
I have a question about how to obtain the union of several data frame
rows. I'm trying to create a common key for several tests composed of
different items. Here is a small scale version of the problem. These
are keys for 4 different tests, not all mutually exclusive:
id q1 q2 q3 q4 q5 q6
1 A C
2 B D
3 A D B
4 C D B D
I would like
2006 Dec 30
3
problems with escaping backticks
I can't escape backticks if on a line with other code:
$ echo 'maybe use `fixed face` for `/path/to/file` by using \`back ticks\`
around it' | /usr/pkg/bin/Markdown
<p>maybe use <code>fixed face</code> for <code>/path/to/file</code> by
using \<code>back ticks\</code> around it</p>
and this is even more wrong:
$ echo 'maybe use
2008 Apr 01
3
HTML entities in URLs and urlencoding
We recently received the following bug report for the python-markdown
implementation:
> The "&" are escaped in URLs.
>
> An example:
> [Link](http://www.site.com/?param1=value1¶m2=value1)
>
> Should output:
> <a href="http://www.site.com/?param1=value1¶m2=value1">Link</a>
>
> Currently outputs:
> <a
2006 Jul 20
2
ROR dev on Different Ruby versions
Hi,
First I would like to ask if someone could give me the direct link to
the mailing list this forum mirrors. This is so I can do searches
directly and not bother folks with repeat questions.
Now my question:
I recently installed a ROR app built on Ruby 1.8.2 and moved it to ROR
on Ruby 1.8.4. I got a few errors and had to regenerate my app in the
later and copy the App files and a few
2016 Feb 27
5
Re: installing xen on c7
On Sat, 27 Feb 2016 13:20, Scot P. Floess wrote:
>
> Hit the send key before actually typing anything :(
>
> Was going to say - ah OK didn't understand your original question. I'm not
> entirely sure - I just followed directions :) However, you ask a reasonable
> question.
>
> On Sat, 27 Feb 2016, Karanbir Singh wrote:
>
>> On 27/02/16 01:41, Scot P.
2004 Feb 11
6
Spelling (PR#6570)
I came across this in connection with an unrelated issue
> beta[2]
Error in beta[2] : object is not subsettable
> beta[2] <- 5
Error in "[<-"(`*tmp*`, 2, value = 5) : object is not subsetable
One of the messages must be wrong, but I need a native English speaker
to tell me which one.
--
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of
2003 Jun 22
2
Stable#1
Got a pretty stupid question... My kernel is now 4.8 Stable#1 but when does the number change when i do makeworld and the other things? or where can i see that?