Displaying 3 results from an estimated 3 matches for "library_id".
Did you mean:
library_dir
2006 Jun 11
4
remote_function posting?
Hi, I''ve noticed that my remote_function calls are resulting in POST
requests. As a result, my routes do not apply since it does not generate a
url based on the parameters, but simply posts to the raw url with post data.
I want to make a GET request instead of a POST. How can I do that? Has
anyone else run into this?
Thanks, Ryan
--
View this message in context:
2006 Jun 02
1
Updating html breaks my interface
...id] }
select "library", "id", choices, {}, {:id => "library_select", :onchange
=> "#{
remote_function(
:update => "album_select",
:url => { :action => "album_select"},
:with => "''library_id=''+value",
:loading => show_loading_select
)
}"}
end
def album_select_all
@albums= Album.find(:all, :order => "title")
choices= [[''All'', -1]]
choices+= @albums.collect { |l| [l.title, l.id] }
select "album...
2006 May 22
2
good practice or waste of time?
I have what I hope is a simple question regarding a security practice
I''ve been using in my first Rails app. I want to know if it''s
worthwhile or if the extra typing isn''t worth it.
I have 3 models that are related to each other.
class User < AR:Base
has_one :library
end
class Library < AR:Base
belongs_to :user
has_many :items
end
class Item < AR:Base