Displaying 20 results from an estimated 38 matches for "shelby".
Did you mean:
selby
2005 Dec 30
9
SELECT MAX
...query in rails? I''ve searched and searched and
tried lots of things with no luck.
I want to implement "SELECT MAX(column_name) from table_name
and have it return the maximum value from column_name. I just need to get
that one value, not the whole object...
Thanks for any ideas...
Shelby
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails
2006 Jun 15
3
how to give a form a name
Using a <%= form_tag ... %>, how do I give a form a name, so that I can
reference it with javascript? I sure can''t figure this out from the docs...
Thanks,
Shelby
PS - what I am trying to do is just have the focus in the first form field
when the form is loaded. There has to be an easy way to do this, but I
can''t figure it out...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/...
2006 Jun 13
7
model validation across multiple views
...tion of the fields that that view presents.
How do I best do that? The only thing I can think of is some kind of use of
single table inheritance, with each child object filling in a portion of the
fields of the total. But that seems weird. Does anyone have a better idea?
Thanks for any advice,
Shelby
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060613/7d42a8b9/attachment.html
2006 Jul 09
2
serialized DateTime objects returning as Time objects
...s in which I am trying to serialize an
array of DateTime objects. When I unserialize them, they are coming back
in as Time objects. I know this, because I am getting errors that say
"comparison between Time and DateTime failed.
Why is this happening? Is there a way to prevent it??
Thanks Shelby
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060709/29324a25/attachment.html
2013 Oct 24
1
SAMBA 4 - Remove last Windows DC from Domain
HI,
i just played around with Windows 2008 R2 as ADS Server and two SAMBA 4 as
additional DCs.
Setting up the Samba 4 DCs works fine. Now I wanted to remove the last
Windows DC with dcpromo.
It fails with the following statement:
Der Vorgang konnte nicht durchgef?hrt werden. Fehler:
Active Directory konnte keinen anderen Dom?nencontroller f?r die ?bertragung
der verbleibenden Daten
2006 Aug 02
3
faster? database search or rewriting objects
...(lets call them "manual"
objects, and store them in the their own table called manuals.
I argue that the database pull with a search on a boolean field is not going
to be significantly slower than pulling all the objects from the "manuals"
table.
Anyone have thoughts?
Thanks,
Shelby
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060802/17f50d03/attachment-0001.html
2005 Aug 07
3
tracking online users
...database table
that stores timestamps and user IDs for every page request. I can
expire the sessions after 30 minutes of inactivity and in my admin
program (that reports the online users), I can remove the records that
are more than 30 minutes old when creating the report.
Is there a better way?
Shelby
2005 Dec 27
3
myObject.send(column.name) from Agile Development book
...nd a method "name" anywhere. Unlike "human_name", it is not
listed as one of the methods of a Column in active record. At least I can''t
find it.
I know what this code accomplishes, but I wish I understood it better.
Can anyone point me in the right direction?
Thanks,
Shelby
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails
2006 Jun 15
0
Re: rails question
Hi Shelby,
No prob,
You are having trouble b/c you don''t call @festival.valid? before this line:
if !(@festival.errors.invalid? :name ) # => true if name is invalid
I wasn''t clear about it in my post, but ActiveRecord::Errors#invalid? doesn''t actually do validations. It...
2005 Dec 26
2
confused about ruby fast C bindings
...about ruby fast C bindings. Does the command:
gem install mysql
install these?
Is this page:
http://www.tmtm.org/en/mysql/ruby/
the home page for these bindings? If so, it gives no instructions about
installing them with using gem.
Wondering if this is all the same???
Thanks for any help...
Shelby
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails
2005 Dec 31
4
saving a collection
...objects in the
collection. Then I want to resave the whole collection back to the
database. I don''t think the update_all command is right for this, as it
understand it...
Do I just have to iterate through the collection, issuing a save command on
each object?
Thanks for any advice...
Shelby
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20051231/2ba7d6f2/attachment.html
2012 Jul 31
3
How can I parse this string to extract just the number 11?
Below is the string to parse and return the embedded number = "11"
string = "\t\t\t\t\t<span class=\"compliment-count profile\">11</span>"
On Jul 29, 2012, at 3:00 AM, r-help-request@r-project.org wrote:
> char
[[alternative HTML version deleted]]
2005 Mar 05
1
Problem with plotting size/location on variation of star/segment plot
...d <-
matrix(rep((c(1:10)*.1-.05),ncol(testA)),nrow=10,byrow=F)
stars(majgrid, locations=0:1, scale=F, draw.segments = TRUE,
add=T, lty=1, col.segments=0)
stars(mingrid, locations=0:1, scale=F, draw.segments = TRUE,
add=T, lty=2, col.segments=0)}
par(mfrow=c(1,1))
##end sample code
Thank you,
Shelby
===============================
Shelby L. Berkowitz
Ecological-Community Psychology
and Institute for Health Care Studies
Michigan State University
berkowi4 at msu.edu
2006 Jul 03
2
moving data from legacy database
...r fields as the primary key
2) in the legacy app, there is a join table that uses email address
and category names to do the join, not ID numbers
I would like to move or change this database to match my new rails
schema. Does anyone have any suggestions as to the easiest way to do
this?
Thanks ,
Shelby
2005 Aug 11
2
Converting strings with internal delimiters into lists
...eed to do is to convert these text strings
into lists comprised of the elements separated by the
commas so that I can work with these elements across
the dataset, manipulate them, etc.
Thanks in advance to any kind soul who can offer me a
tip to the appropriate functions or a line of code!
Best,
Shelby
2006 Jul 16
1
form helpers with non-ActiveRecord objects
...there any way to make this work? I suppose I could go to the trouble to
make these FestDate object into AR objects, and store them in their own
table, and setup the relationship, but it seems an awful lot of trouble...
just so the helpers will work.
If anyone has any ideas, I would be grateful.
Shelby
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060716/c59f3518/attachment.html
2006 Jul 25
1
save trouble with has_many belongs_to relationship
...not save the
monitor preferences? FYI, the @current_festival.save... IS saving other
values in this method correctly, and I have validation set to false because
not all required fields are completed at this point.
If anyone can tell me why this save is not happening, I would be grateful.
Thanks,
Shelby
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060725/14514260/attachment.html
2006 Jan 04
2
collection_select with array as source
...''t figure out the syntax for the collection_select in this situation...
collection_select("my_object", "state", what goes here??? )
I just need the state name to go on both the value and the label field of
each <option>
I would be grateful for any help.
Thanks,
Shelby
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060104/598f4cca/attachment.html
2005 Jul 16
2
Applying css style to a link_to
What is the proper syntax to apply a css class to a link created using
link_to?
I''ve tried
<%= link_to("details", :class => "details", :action => "edit", :id => event)
%>
but that creates a link which looks like
/admin/events/edit/3?class=details
which is not what I''m looking for.
Kyle Heon
2013 Oct 31
0
Remove orphaned DC
...ads with the help by different ms articles
and now everything is thing except a two orphaned entries in samba-tool
showrepl. Those refer to the last windows dc:
CN=Configuration,DC=local,DC=laurenz,DC=ws
NTDS DN: CN=NTDS
Settings\0ADEL:262e2471-dc01-4d71-ae5d-f71f9d8c2d5d,CN=SHELBY\0ADEL:72a698fc
-6b93-41d1-9961-504008ea2415,CN=Servers,CN=Zuhause,CN=Sites,CN=Configuration
,DC=local,DC=laurenz,DC=ws
DSA object GUID: 262e2471-dc01-4d71-ae5d-f71f9d8c2d5d
Last attempt @ Sun Oct 27 12:22:47 2013 CET failed, result 2
(WERR_BADFILE)...