Displaying 16 results from an estimated 16 matches for "estelle".
Did you mean:
esdelle
2006 Feb 06
3
linked table confusion
placement.rb
has_one :client
has_one :case_manager
client.rb
belongs_to :case_manager
has_many :placements
case_manager.rb
has_many :clients
has_many :placements
I am trying to create a view file for placements.
I can pull columns from clients table in this view by using...
<%= @placement.client.wholename %>
but if I use
<% @placement.case_manager.wholename %>
2006 Feb 06
2
Globalize plugin, now I have two classes with the same name
...class/instance methods etc and obviously I want to put
these in my own model, completely separate from the Globalize plugin.
But currently Country.find is invoking the Globalize Country class
rather than my own.
Can someone explain how I can deal with this situation as cleanly as possible?
TIA,
Estelle.
2006 Feb 08
7
DRY methodology
because I am a grasshopper...
Now that I can sort my ''list''...is there a logical way of not repeating
myself to having essentially the same list view with multiple sorts?
i.e.
def list_cl
# ordered by clients last name
@placement_pages, @placements = paginate(
:placements,
:include => [:client],
:order_by =>
2006 Feb 26
5
Plugins? Components?
...the
/vendor/plugins directory) and "components" (put into the /components
directory)?
Is it just that "plugins" have an init.rb file that is automatically loaded?
Also, how can I dynamically find out which files/controllers are
available in the /components directory?
Thanks,
Estelle.
2006 Feb 13
10
Clearing browser history?
Hello everyone,
I''ve got an app where, when a user logs out, I want the browser
history to be cleared so no-one can go back and see what the user was
doing.
I remember seeing info on how to do this before - can''t find it in
Google (the search terms "clear", "browser" and "history" aren''t that
great!), which means I can''t remember
2006 Feb 13
9
Please e-mail (not only post) the Forum Instructions URL
Am I just blind, or are there no links to the instructions, e.g. the
Search syntax or how to get back to a thread I started on RoR?
Or do those links, buttons, whatever only show / work in IE?
Thanks for any help; sorry if I can''t figure out something I should be
able to.
jandjharris (at) gmail.com
--
Posted via http://www.ruby-forum.com/.
2006 Feb 15
9
Liquid - form helpers? multiple liquid templates?
...lt would it be to add some kind of Filter or Tag which
would allow other Liquid templates to be included into the current
Liquid template (eg. similar to render(:file => "filename")
- How difficult would it be to add Filters to provide the usual form
helper functionality?
Thanks,
Estelle.
2006 Feb 02
8
How to get all selected rows in the mutli-selection listbox?
Hi,
I have created a multiple selection listbox with
rails, when I try to get the rows selected by user,
rails send back only the first one, how can I get the
other selected rows????
I created the listbox with the following function:
select_tag("form__list1",
options_for_select(["A","B","C","D"], selected = "A"),
html_options =
2006 Feb 22
3
Reading files from dir
I have gif files in my public/images/posticons directory, I want to read
their filenames without the extension to list the files as a set of
radio buttons in the form:
[code]<%= radio_button("thread", "posticon", imgname) %>
<img src="/images/posticons/<%= imgname%>.gif" alt="" />[code]
Would I be saving myself a lot of time and server
2006 Feb 16
6
session usage
Clearly I have the session and can see that session[:user_id] = 7
Now I want to use the results of this...in a page...so I am trying to
use the instance variable
@sess_user
and at the top of the application controller, I have either...
@sess_user = User.find([:first, "id = ?", session[:user_id])
or
@sess_user = User.find([:first, "id = ?", session[:user_id])
gives me an
2007 Nov 14
0
Question about AGNES by Rousseeuw et al. in the package "cluster": How many clusters?
...ee Health Research Centre, Melbourne, Australia
Phone:
at home:
+61 (0)3 9917 2134
at La Trobe University, Bundoora campus (every other Thursday):
+61 (0)3 9479 3161 (desk, Martin Building, room 475,
consultation hours: 9.00am-11.00am, 1.00pm-5.00pm)
or +61 (0)3 9479 5874 (Estelle Purchas, RHRC secretary)
at the Victorian Foundation for Survivors of Torture, Brunswick (on some
Wednesdays):
+61 (0)3 9940 1567 (desk, Brunswick Business Incubator)
or +61 (0)3 9388 0022 (Brunswick VFST reception)
Email:
amplontz at students.latrobe.edu.au (email account checked on...
2006 Feb 07
11
Possible Rails Security Issue?
I have an e-commerce site and users check out with a form. The
results of that form are sent to a "confirm your order" page via
POST. I take great pains to NEVER store the full credit card number
on my server--just the last 4 digits. I was very surprised to find
that by default Rails will record POST requests with parameters in
the production.log. And those parameters
2006 Jan 26
21
pagination_links help
I want append custom query parameters to my pagination links, like
?page=1&foo=bar. I can''t quite figure out how to do this with the
pagination_links helper, although I believe the API says you should be
able to:
pagination_links(paginator, options={}, html_options={})
options are:
:params: any additional routing parameters for page URLs
Has anyone tried this?
thanks,
jeff
--
2006 Feb 10
14
dynarch calendar and calendar helper usage
I am playing around with this and reference this wiki from RonR site...
http://wiki.rubyonrails.org/rails/pages/CalendarHelper
The error I am getting is:
NameError in Placements#list
undefined local variable or method `date_format'' for
#<PlacementsController:0xb78f9ef4>
RAILS_ROOT: script/../config/..
Application Trace | Framework Trace | Full Trace
2006 Feb 09
17
complicated finds are eating my sole
I abandoned ruby way for find_by_sql and still can''t get this...
@myplacement = Placement.find_by_sql(
"select * from placement where
:intake_date >= beg_intake_date
and
:intake_date <= end_intake_date")
just a simple date range...it''s killing me - If I knew how to load
placement controller into irb, I could probably try out finds
interactive mode...
Thanks
2006 May 22
8
flickr tag question
hey,
i am using the flickr wrapper for ruby and need to access the tags of a
specific photo. i got all the rest working. i must admit i am kind of new to
ruby, but i tried and tried and couldn''t figure it out. among other things i
want to read geotags like in my example here:
http://www.flickr.com/photos/whoisstan/146634506/
i''m sure it is deadsimple and i just overlooked it.