Displaying 20 results from an estimated 50000 matches similar to: "master-detail display -- a lot of work?"
2006 Aug 06
6
View passing empty or no value to controller -- help
Hi,
I have the following view:
<%= start_form_tag ( { :action => ''find'' }, :method => ''get'') %>
<p>
<%= text_field_tag :lemma, params[:lemma] %>
</p>
<%= link_to "Find It", :class => "submit" %>
<%= end_form_tag %>
And the following find action in the controller:
2006 Aug 05
14
Rake aborted! on No Rakefile Found error
Hello,
On a command:
rake db:migrate
I get the "rake aborted!" error. The message is:
No Rakefile found (looking for: rakefile, Rakefile, rakebile.rb,
Rakefile.rb)
c:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1822:in
''load_rakefile''
Checking my setup, I see that Rakefile.rb is in the expected path.
Why can''t rake see Rakefile.rb,
2006 May 28
7
Join table not being populated
Hello,
I have the usual Categories and Products table scenario, mediated by a
Categories_Products join table. When I create a new Product and into a
given Category, I notice that my join table is not being populated.
Shouldn''t the join Categories_Products table be populated?
Thanks,
gk
--
Posted via http://www.ruby-forum.com/.
2006 Jul 31
3
Missing controller default code
Hello,
I generated a controller, using the command:
ruby script/generate controller my_kontroller my_model
The generated controller file, however, contains an empty class
definition. The default controller code is missing.
Any idea what went wrong?
Thanks,
gk
--
Posted via http://www.ruby-forum.com/.
2006 Aug 01
1
Re-using a Listing screen form
How do I display subsets of records on a Listing page (that lists in
grid form table records)? In particular, when displaying the Listing
page, it would be nice to allow the user to display a subset of the
records, for example, by filtering.
For example, I have the following Controller Listing and Filtering
actions:
def list
@eng_sense_pages, @eng_senses = paginate :eng_senses,
2006 Aug 11
2
Shouldn''t CRUD be CRUDS?
With most models, almost always I find myself writing Search/Find
actions. When I view a Listing of a model, I want to look at another
record or set of records. How nice it would be if I can do a
query-by-example while viewing a Listing, or during Show/Edit/Create.
Would be nice if Search becomes another act in the scaffolding magic.
This wish has been expressed here before. Since then, has
2006 Jul 03
2
Still struggling with data flow ...
Hello,
The following view:
<%= start_form_tag %>
Enter term to find
<p>
<%= text_field_tag :name, params[:name] %>
</p>
<%= link_to "Find", { :action => ''find_term''} %>
<%= end_form_tag %>
does not appear to pass back the value of :name to the action:
def find_term
term =
2006 May 29
4
Prompting user to enter value to feed Find
Hi,
While viewing part of a long list of records, the user may want to do a
Find of a specific record (for example, find_by_name). The found record
is then displayed using the list view. I''ve searched the wiki and
couldn''t find a sample or information that will help directly in
implementing this function. Any pointers?
Thanks!
gk
--
Posted via http://www.ruby-forum.com/.
2006 Jul 04
1
Multiple parent ids
Hi,
parent_id is the default name for the self-reference foreign key. What
is the convention for naming the second parent id, the third?
Thanks!
gk
--
Posted via http://www.ruby-forum.com/.
2006 May 09
9
Recommendation for a user authentication plugin
Hi,
Which user-authentication plugins should one try first? Too many out
there and too little time to try them all fairly. Thanks for your
recommendation.
cheers!
--
Posted via http://www.ruby-forum.com/.
2006 Jul 07
13
Rails Recipes Book: Authentication
Hi,
The user/login management system in Chapter 31: Authenticating Your
Users and Chapter 32: Authorizing Users with Roles of Chad Fowler''s
Rails Recipes looks reasonable and adequate. However, when I ran the
Chapter 31 code, I get the following error:
Username or password invalid
And I am not even given the chance to sign in; that is, the signin form
does not appear at all.
Has
2006 Jul 06
1
Problem implementing password and password confirmation
Hi,
I''m trying to implement password confirmation, based on the Agile
example, but just can''t make any progress.
User DB has these fields:
=========================
t.column :name, :string, :limit => 40
t.column :hashed_password, :string
t.column :salt, :string
User model has:
===============
attr_accessor :password_confirmation
2006 Aug 02
9
How to fetch the previous or next record
Hello,
Is there some built-in facility for fetching the Previous or Next record
from a table? Assume the command find_by_name has been issued, and the
variable @name contains the name "John Doe". I''m looking for something
like find_next(@name) and find_previous(@name). What''s a good way to
pursue if one has to roll their own methods?
Thanks for the help,
gk
--
2006 Aug 09
10
Next/ Previous record
Hi, Quick question (which means that I think there should be an easy
answer)...
When I am in the "show" view, I''d like to add 2 links, one for previous
and one for next record so that the user can go on to the next "result"
without having to go back to the ''list'' of results. However, I can''t
find my way about this problem :-S
2011 Aug 03
0
[PATCH] display ipv6 address in networking details page, also fix ipv6 netmask configurations.
rhbz#698650
Signed-off-by: Joey Boggs <jboggs at redhat.com>
---
scripts/network.py | 3 +-
scripts/ovirt-config-setup.py | 46 +++++++++++++++++++++++++++++++++-------
scripts/ovirtfunctions.py | 22 +++++++++++--------
3 files changed, 53 insertions(+), 18 deletions(-)
diff --git a/scripts/network.py b/scripts/network.py
index ccc4bd8..f51ee7c 100644
---
2011 Mar 07
0
Master detail forms and reports
Hi all
I need to create a data entry form that will follow the master-detail
structure and then I need to show a report where the user selects a
record and it displays a parent/child relationship between two tables on
the screen.
Any suggestions of where I can find a template or an application that
could help me?
Please advise!
--
Posted via http://www.ruby-forum.com/.
--
You received this
2002 Aug 06
0
Getting a GUI to work with Vorbis code
I am trying to create a Graphical User Interface for a Vorbis Player under
MS Visual C++ 6.0
I was initially trting to use the code from decoder_example.c but I keep
getting linker errors.
I have set up my project as told to by James Boer on this mailing list.
This is as follows:
This document was prepared from an email received from James Boer on the Ogg
Vorbis mailing list. It gives a
2011 Aug 03
1
[PATCH] display ipv6 address in networking details page, also fix ipv6 netmask configurations
rhbz#698650
Signed-off-by: Joey Boggs <jboggs at redhat.com>
---
scripts/network.py | 3 +-
scripts/ovirt-config-setup.py | 48 ++++++++++++++++++++++++++++++++++------
scripts/ovirtfunctions.py | 20 ++++++++++------
3 files changed, 54 insertions(+), 17 deletions(-)
diff --git a/scripts/network.py b/scripts/network.py
index ccc4bd8..f51ee7c 100644
---
2005 Nov 07
1
treeview, master detail forms, sortable grids, etc..?
Are there any (preferable opensource) pre made widgets like calendar
widgets, treeviews, sortable grids, etc.. that I can
pluginto a rails application?
If they are not build in Rubyy, then are there any examples an how to
integrate them?
John McClain
Senior Software Engineer
TCS Healthcare
jmcclain-RI2jYlfFOOy2dUpmj6OxPQC/G2K4zDHf@public.gmane.org
(530)886-1700x235
"Skepticism is the first
2006 May 23
10
Ruby on Rails: Up and Running
hello,
On page 49 of the beta version of Ruby on Rails: Up and Running, the
book suggests to download a zip file containing everything that has been
done up to that point, and a create_tables_with_data.sql file. The book
doesn''t have the link, and I couldn''t find it in the book site. Does
anyone know where to get the files?
This is a very good book.
Thanks.
--
Posted via