Displaying 5 results from an estimated 5 matches for "000593".
Did you mean:
0.0593
2006 Aug 08
3
problem inserting parameters in link_to_remote
I want a page that lets users add members to a group
from a longer list, or remove members from that group.
I can use Ajax to transfer a name from the long list
to the group, or drop an existing name from the group.
But.
If I add a person to the group, and try to remove
without refresh, it doesn''t work. My link is formed
by <%= link_to_remote ''add'', :url => {
2006 Jul 21
2
New Generator: hasmanythrough
To the aide of anyone whose had to create new models, migrations and
unit tests for the common many-to-many relationship, using "has_many
:through" (that''s almost everyone).
I''ve created a new generator that generates two model classes, plus a
many-to-many relationship class, e.g. User, Group, plus the Membership
model between them. It also generates the migrations
2006 Aug 08
8
RESTful Rails Plugin
I am following the instructions on how to use RESTful Rails plugin found at
http://www.xml.com/pub/a/2006/04/19/rest-on-rails.html?page=3.
When I run the rake test:functionals
I get the following error message:
rake aborted!
undefined method `first'' for :book:Symbol
(See full trace by running task with --trace)
How can I fix this problem? I am using Rails 1.1.4 version. TIA
2006 Nov 27
3
Consistency in REST-routes naming
Hello everyone!
In working with the Rails-REST-features I have always wondered about
the URL for the new-action
/objects/new
In REST the URL should represent a Resource. As the semicolon is for
adding non-standard actions (verbs) to a resource, IMHO it should be:
/objects;new
and not
/objects/new
In fact, this is just like an additional action, which I would specify
with the
2006 Jul 25
8
Creating records in two models in a RESTful way.
Hey everyone,
I have a philosophical question here. Say I have a website that uses two
models for accounts: Person and Company. Normally I would just have
/accounts/new for user signup.
However, the RESTful way to do it is to have /people and /companies.
Unfortunately, this doesn''t account for a situation where you''d have a
one-page signup form. I wouldn''t want