Displaying 13 results from an estimated 13 matches for "winescout".
2006 Jan 12
4
has_one relationship problem
I was wondering if anyone could see the error in this littte application
I have two models, User and Selection
Selection is an extension of the User model
so in the User model I have a has_one :selection
and in Selection I have a belongs_to :user
in my views, i cannot get @user.selection to work but @user works fine.
http://www.rafb.net/paste/results/GSBt1e61.html
Thanks,
r.b
2006 Feb 01
6
Little Ferret Problem
I''ve implemented Ferret, using the instructions here:
http://wiki.rubyonrails.com/rails/pages/HowToIntegrateFerretWithRails
I get no errors in the application at all... however, I always get 0
results.
I built an index off of some data, it exists in the index/ directory, the
form submits find... etc...
Just 0 results... all the time :)
I confirmed the data from my models is being put
2006 Jan 20
1
AW: Linux Suggestions
...would start from gentoo (more docs,
> more community, than slackware). I don''t think you need to be an
> expert to install and configure gentoo, because there are very good
> install docs availabe, that''s why i recommend gentoo :-)
>
> On 1/20/06, matthew clark <winescout@gmail.com> wrote:
>> You would suggest Gentoo to a newbie????
>>
>> I ran Gentoo for a long time on servers and my workstation. It
>> is a great
>> distro, don''t get me wrong, but for someone comming from windows?
>> I don''t
>> t...
2006 Jan 16
42
Linux Suggestions
I''m fairly new to Ruby & Rails and I come from a stricly M$ background. I''m
trying to move into the world of open source, but I don''t have a good roadmap.
I''m starting to develop a Rails-based product and I want to have the option to
distribute it to non-hosted customers. So I''ve said all that to say this... I
want to learn how to setup linux and
2006 Jan 23
4
Using :id=>''something'' vs :mid=>''something'' params
Is there any reason for using :id=>''something'' instead of :mid=>''something''
in link_to or link_to_remote? (well other than generating a nicer link)
My tool for analysing apache logs is considering /controller/action/4 as a
different link than /controller/action/5, so instead of counting
/controller/action it will count every variation of that parameter.
2006 Jan 21
19
RoR - Mac OS 10.4.4 on Intel
I got a new 20 inch iMac dual core today and am busy getting it all
setup. A couple of issues though:
1. Is the Ruby 1.8.2 install by Apple still botched or has that been
fixed? I recall someone had fixed the rbconfig.rb to get it working.
Is this something I still have to do?
2. Does anyone know if Locomotive is using the uniersal binaries, or is
it targetting PPC yet? I couldn''t
2006 Jan 20
10
Generating a long, unique "ticket" number.
Hello --
I would like to setup a system where a user can generate a "ticket".
This ticket will be stored indefinitely. The ticket will be sent to
someone who does not have an account on the system and therefore, I
would like to ensure some level of security in that ticket number.
Basically, the other user would receive an email like:
---
Please click on the link below to view this
2006 Jan 27
27
Preferred Ruby Editor/IDE for OS X?
Just a quick question, if I were tired of typing ruby into a terminal
editor, say I wanted, oh, a scroll bar, mouse support, and maybe
syntax highlighting? Anyone know os a good Ruby/Rails editor or IDE,
one that runs on OS X, possibly in Java?
-Josh
-----------
Due to the recent increase in spam and falsely sent email, I now PGP
Sign all of my outgoing mail to prove my identity. This
2006 Jan 17
30
MVC design good/bad
I am curious what you find is good and bad MVC design.
Let''s use the find and find_by_sql methods as examples.
Currently I have these spread out all over the place...
View: here I have some find methods when I am for example populating a
select list with choices in a form.
Controller: here I have the simpler find methods.
Model: here I have the more complicated find methods (usually
2006 Feb 04
0
date_select
Can you see an obvious reason why this date_select code is failing?
The parameters from the form -
*Parameters*: {"commit"=>"Save All Changes", "campaign_id"=>"1",
"campaign"=>{"name"=>"fdsfas", "end_date(3i)"=>"26",
"start_date(1i)"=>"2006",
2006 Jan 14
0
testing template components
Hi,
I''m plowing through the template section of "Agile Rails", specifically the
stuff starting on P. 364. What is a good strategy for testing components?
My initial thought is to mimic the Rails application "test" directory. No
problem.
Next copy the setup method, and set it up like so -
class SidebarControllerTest < Test::Unit::TestCase
def setup
2006 Jan 22
0
link_to query string
Here''s a simple one I think.
Using link_to, how do you get multiple fields in the query string?
link_to("anchor text", {:action=>"neat_page", :field_1=>"value 1",
:field_2=>"value 2"})
-this only gets you field_1 in the query string
as does this -
link_to("anchor text", :action=>"neat_page",
2005 Dec 15
3
site home page
Hi,
I have a really dumb qustion, but I can''t find an answer in "Agile Rails" or
any other hand holder. And, it is a difficult topic to search for in
google.
What controller/view is used for the home page of a site? I get how to
create new controllers, but I don''t get at all how to change content on the
home page.
thanks,
matt
On 12/14/05, Austin Ziegler