Displaying 11 results from an estimated 11 matches for "mcmain".
Did you mean:
mscmain
2006 Jan 09
2
Using SQL to get a whole record when using aggregate functions
...e previous query to pull
that as well in a single pass? The only approach I can think of is to
iterate through the results of the above query, doing another query
for each shortest book I want to get all the details for, which seems
a mite inefficient.
Thanks, SQL mavens!
Sean
-----
Sean McMains
AIM: SeanMcTex
http://www.mcmains.net/ruminations
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060109/475c760e/attachment.html
2006 Jan 02
2
HTML Fragment not Loading in Firefox; Fine Elsewhere
...is URL won''t load in Firefox? Please? Pretty
please?
http://seanmctex.homeip.net:3000/book/search?searchTerm=dragon
I''m utterly baffled by the strange behavior, and would love to get a
handle on what''s going on here.
Thanks in advance for any help.
Sean
-----
Sean McMains
AIM: SeanMcTex
http://www.mcmains.net/ruminations
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060102/3ee610a1/attachment.html
2006 Jan 02
2
Getting Index When Using render :partial
...dex of the result
currently being displayed, like each_with_index makes available to
its block? This would allow me to have the client pass back the index
and pull the data from the session, thus assuring that the client
hasn''t fooled with it.
Thanks for any ideas!
Sean
-----
Sean McMains
AIM: SeanMcTex
http://www.mcmains.net/ruminations
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060102/ef8c3d7e/attachment.html
2006 Apr 30
4
Migration, BigInts, and string lengths
Howdy Y''all,
I was thrilled to recently discover migrations, as that framework
addresses a common problem in an elegant way. I have, however, gotten
tripped up a bit as I''ve worked with them.
The first problem I encountered was that, though I was using a BigInt
data type in a field in my dev database, my unit tests were failing
because when I copied the schema from the dev
2006 Jan 02
3
Re: Getting Index When Using render :partial (Benjamin Stiglitz)
...seems an excellent approach to
the problem, except that I''d been under the impression that one could
only call render once. If you call it multiple times as the
each_with_index loop iterates, are the results just combined
automatically? How does that work?
Thanks!
Sean
-----
Sean McMains
AIM: SeanMcTex
http://www.mcmains.net/ruminations
On Jan 1, 2006, at 11:44 PM, rails-request@lists.rubyonrails.org wrote:
> Instead of using the :collection parameter to render, render your
> partial from inside an each_with_index, and pass in the index as a
> parameter to the partial...
2005 Dec 27
1
Odd Behavior with render
I''d been trying to iterate through an array of hashes using the
ActionController''s render method. Unfortunately, it appears that when
I use a hash as one of the array elements, it gets passed as a nil to
the partial. Here''s some code:
@books = [ ''hello'', ''hello2'' ]
render :partial => "book",
2006 Jun 02
2
State of the Art in Login?
...system to work with would be. It appears to me that the
Login Engine implementation is most up-to-date, but I''d be interested to
hear if anyone has strong feelings to the contrary, or if there''s
another approach that I might have missed.
Thanks in advance for any input.
Sean McMains
--
Posted via http://www.ruby-forum.com/.
2005 Dec 28
4
AJAX works in Safari, broken in Firefox
I''ve been working on an AJAX search, very similar to the Flickr one
in the screencast linked from the main rails page. I''ve been doing my
testing in Safari, where everything has worked fine, only to now
discover the results of the search action seem disinclined to load in
Firefox. I can enter a URL to return the HTML fragment that''s
supposed to be dropped into
2006 Feb 21
0
Bibliofile, a Logging App for your Reading
Hi Folks,
Just a quick note to announce my first Rails-powered project:
Bibliofile, a web app for tracking one''s reading. From the propaganda:
----
Bibliofile is a tool for keeping track of books: those you''ve read,
those you''d like to read, and those you''re reading. You can use it to:
* Put a "What I''m Reading" list on your web page or
2005 Dec 27
0
Newbie: Getting Book Data from Amazon
As part of my inaugural Ruby project, I''ve been trying to get data
for books from Amazon''s web services. The first thing I tried was
Ruby/Amazon <http://www.caliban.org/ruby/ruby-amazon.shtml>. It works
great, but is based on an earlier version of Amazon''s Web Services,
which apparently doesn''t return a complete set of data for the items
it
2001 Nov 26
0
Problem displaying images
I just 'discovered' Wine recently and am interested in running a game
called Diamond Mind Baseball. Its a pretty basic window interface and
99% of it works fine. My only problem's have been instead of
displaying JPEGs that serve as a background to the game screen and
splash screen all I see is solid black.
I've tried changing the image formats to PNG and BMP which work
correctly