Displaying 20 results from an estimated 500 matches similar to: "[Model] [Noob] Table Naming w/ underscores"
2006 Apr 20
8
Whats the best way to do this?
I have an archive that can have 0 or more extra files associated with
it.
I would like to be able to edit the associated files info on the same
page as the archive info.
Listing the extra files info to the edit form is simple enough, but How
do I form the text input fields for easy (or automatic) pick-up in the
update?
Or am I barking up the wrong tree here?
--
Posted via
2006 Mar 24
3
Using Tags in Applications
I''ve been contemplating the utilization of "tags" functionality for
categorizing records in my application. For example, a record can have
any tag associated with them: volunteer, donor, phone_caller, etc.
(Much like delicious)
Has anyone already laid out a good architecture for implementing this
on the DB, or other medium? I''m sure I can custom build something, but
2005 Nov 08
3
Textmate "e ." in the Video
>From the newbie corner...
In the demo video our illustrious Rails guru summons textmate with "e
." from the command line, magically opening textmate within the
context of the respective rails app.
I downloaded textmate, love it, but want to know how to make the same
magic happen from the command line, rather than having to open the app
via gui in the Applications folder.
Thanks.
2006 Jan 06
6
RoR API Firefox search plugin
Hi,
Lately I''ve been visiting the RoR API site quite often, so I modified a
Firefox search plugin to make searches to it (with Google). So here I
post it in case someone finds it useful:
<SEARCH
version = "7.1"
name="Google - RoR API"
description="RoR API SiteSearch"
method="GET"
2006 Aug 04
0
a commitment to underscores
rspec''ers
We''ve been living in a world for a couple of months in which rspec
supports both dots and underscores. Supporting both is gumming up the
works at this point and I''d like to commit to one or the other.
Assuming that all would prefer underscores, I''ve changed all of the
tests to use only underscores, fixing a few new problems as they
appeared.
Unless
2006 Aug 15
2
to_xml and underscores
hi,
i am looking for a solution whereupon
calling myEntityObject.to_xml does not
convert my attributes containing underscores
into hyphens.
at the moment an attribute named "my_own_attribute"
is converted into <my-own-attribute>.
does anybody have an idea how to change that
and have to_xml generate <my_own_attribute>
thanks
ciao robertj
--
Posted via
2007 Feb 15
2
underscores ($name_$foo) in string assignments
Hello
In a component, I was trying to do:
$bar = "lets make a new string with $name_$foo in it."
however the "$name_" fails to appear in the resulting string:
"lets make a new string with valueOfFoo in it."
Is there something special about $name_ here?
If I replace the underscore with a dash (... $name-$foo ... ) it
works fine.
thanks
Jesse
Jesse
2007 Sep 30
1
to_xml node names with underscores
When I call to_xml on my active record objects, it replaces
underscores with hypens. E.g.:
<categories>
<category>
<content-provider-id type="integer">1</content-provider-id>
<id type="integer">2</id>
<name>Traffic Alerts</name>
</category>
</categories>
When the actual field is content_provider_id. I remember
2005 Jul 21
0
Underscores in BCB making vorbisfile unusable
Hello friends! Somebody obtained to compile the example vorbis tool decoder? When I compile in the Borland Builder or DJGPP, occurs the error:
"undefined reference you ' _ ov_open '"
as well as the message of the homepage: http://www.ogghelp.com/ogg/about.cfm?view=3
What she is necessary to make to compile and to function?
I do not have interest in using libs nor the DLL,
2009 Sep 17
1
Bind 9.3.4-10.P1.el5_3.3 check-names and underscores
Updating old CentOS 4 DNS servers to CentOS 5, one of our zones has a number
of entries with underscores in. Starting named results in the following
error and named refusing to start.
masters/example.com.db:33: mail_server.example.com: bad owner name
(check-names)
I've tried including
check-names master ignore;
in the options but this isn't making any difference. I've read a lot
2009 Jul 24
1
Search fails on underscores in quoted-printable
Hi folks,
currently I'm running Dovecot 1.2.1. Compiled from source on
Fedora 10 Linux 32 Bit (all patches). Clients are Pine 4.64,
Thunderbird 2.0.0.22 and Mutt 1.5.20 (using "=b" for server-side
searching).
When a message contains the text "under_score" and I let the
server search for it, Dovecot does not find it in messages
with a Content-Transfer-Encoding of
2003 Apr 01
1
Underscores in BCB making vorbisfile unusable
I use Borland C++ Builder 3 and I'm having trouble getting vorbisfile to work. This version of C++ Builder prefixes function names with underscores, so in the .obj file ov_open would look like _ov_open. Now, when linking the .obj files, it looks for the function _ov_open in all other .obj files and .lib files in the project. It finds none, and gives me an unresolved external error. I can
2009 Sep 27
1
Textpattern and underscores
When using Textpattern with PHP Markdown Extra there is a problem with the
textpattern tags. Tags like <txp:image id="42" /> are parsed, but tags like
<txp:site_name /> that have an underscore are not. Any ideas how to deal
with this?
Thanks list,
--
Peter Sinn
peter.sinn at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2019 Aug 09
0
Underscores in package names
Please, no. I'd also like to disallow uppercase letters in package names.
For instance, the cuteness of using a capital "R" in package names is
outweighed by the annoyance of trying to remember which packages use an
upper-case letter.
On Thu, Aug 8, 2019 at 9:32 AM Jim Hester <james.f.hester at gmail.com> wrote:
> Are there technical reasons that package names cannot be
2019 Aug 09
1
Underscores in package names
To be clear, I'd be happy to contribute code to make this work, with
the changes mentioned by Duncan and elsewhere in the codebase, if
someone on R-core was interested in reviewing it.
Jim
On Thu, Aug 8, 2019 at 11:05 AM Duncan Murdoch <murdoch.duncan at gmail.com> wrote:
>
> On 08/08/2019 10:31 a.m., Jim Hester wrote:
> > Are there technical reasons that package names
2019 Aug 09
0
Underscores in package names
Duncan,
On Fri, Aug 9, 2019 at 1:17 PM Duncan Murdoch <murdoch.duncan at gmail.com>
wrote:
> On 09/08/2019 2:41 p.m., Gabriel Becker wrote:
> > Note that this proposal would make mypackage_2.3.1 a valid *package
> name*,
> > whose corresponding tarball name might be mypackage_2.3.1_2.3.2 after a
> > patch. Yes its a silly example, but why allow that kind of
2019 Aug 15
0
Underscores in package names
> While
> package names are not functions, using dots in package names
> encourages the use of dots in functions, a dangerous practice.
"dangerous"...?
I can't understand the necessity of RStudio and Tiny-Verse affiliated
persons to repeatedly use subjective and unscientific phrasing.
Elegant, Advanced, Dangerous...
At UseR, there was even "Advanced Use of your
2001 Sep 21
1
Quoting underscores in variable names
(please Cc: me in replies, as I am not on the r-help list)
Hi,
I have discovered that underscores are not allowed in variable names,
although this is not by any means the first instance of such a
discovery. Short of going through all my other data, and removing
underscores, is it possible to quote underscores in R? I had something like:
> plot(g\_code ~ sp\_code, data=genes)
Error: syntax
2006 Jun 05
2
Functions starting with underscores
I'm having problems with functions starting with underscores
'_foo' <- function(x) {1}
seems to work
but I can't assign an attribute to this function
attr('_foo', 'bar') <- 'pow'
Any way of doing this? This is for a C++ -> R wrapping system so I'd like to
keep the C++ names which start with underscores.
(please cc: responses to me
2006 Jun 13
0
underscores
Since several people have commented to me, on and off list:
On 6/13/06, Sarah Goslee <sarah.goslee@gmail.com> wrote:
> >
> > PS Using underscores in variable names is not encouraged, and
> > can cause you problems in certain contexts.
I realize that it is now legal in R to use underscores, since they no longer
represent the same thing as "->". But I