similar to: related drop down list / ajax

Displaying 20 results from an estimated 500 matches similar to: "related drop down list / ajax"

2006 Jul 01
22
TextDrive complaints
Hi all, I have deployed my Ruby On Rails application on TextDrive. At first everything seamed to be fine. However, lately, response time of my application is incredible slow. Worse, lately there is also a lot of downtime. I have contacted their support desk, however, they do not respond (at all, or very, very late). Has anyone else these experiences with TextDrive? And if so, what did you do
2006 Aug 13
3
escape block using red cloth
Hi all, Is it possible to configure red cloth to escape a block such as: ------------------------------------------------------------------ Hello, _this_ works *beautifull* [code lang="ruby"] def foo bar end [/code] ------------------------------------------------------------------ The text in the [code] block should not be parsed by Red Cloth''s to_html method. I cannot
2006 Feb 01
5
lighttpd not starting on os X (intel)
Hi all, I''m followed the instructions written here to prepare my new iMac for Ruby / Rails developement: http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger When I run script/server I get the following output: harm-de-laats-computer:~/rails/test harmdelaat$ script/server => Booting lighttpd (use ''script/server webrick'' to force WEBrick) =>
2006 Jan 09
11
Fast Ruby Debugger?
After developing in Java for years in IDEs I''m starving for a decent ruby debugger. When learning new codebasesI find it invaluable to use the debugger to step through the system and see how things work at runtime. Using RDT in Eclipse is fine but it''s excruciating to wait minutes for the default debugger to finally reach my breakpoints on tests that normally take seconds to
2005 Dec 25
2
[repost] newbie questions
Hi all, I''m following the shop example in ''Agile Web Development with Rails''. I would like to extend the checkout screen, in such a way people can change the number of items they have selected in there cart. In my controller I have: def checkout @cart = find_cart @items = @cart.items if @items.empty?
2006 Apr 22
6
nOOb question: How to use find_all with form input data
Hello, I''m having a problem utilizing the find_all method with a value from a form. I keep getting the following error: Mysql::Error: #42S22Unknown column ''category_id11'' in ''where clause'': SELECT * FROM items WHERE (category_id11) The controller seems to be getting the correct data, but my key and value seem to be mashed together(it''s
2006 Jan 03
1
validating model without saving
Hi all, I would like to validate my model without actually saving it to the database. Actualy I need it as follows: User enters user details in a post form. When the user submits the form I would like the form to be validated. However, when validation passes, I don''t want to save the model yet, but I would like to store it in Session context. Is this possible at all? And if so, how
2005 Dec 15
3
session scope?
Hi all, I''m working on a Rails application. In this application I retrieve a list of ''brands'' using a method somewhere defined in my controller: private def get_brands @brands = Product.find_by_sql("select distinct brand from products"); end However, I display this information in a listbox in the template for my controller. This means @brands
2006 Mar 08
12
favorite FTP client of railers
Hi, Which FTP client would fit in nicely with OS X and Textmate. Thanks, Peter
2006 Jul 22
16
capistrano deploy failing on /public/system "No such file or directory"
trying like mad to get this to work. cap setup works fine, sets up the dir structure on dreamhost (tho setup doesnt create the "current" symlink). on deploy, i get: * executing "rm -rf /home/USERNAME/dwightnight.org/releases/20060722060159/log /home/USERNAME/dwightnight.org/releases/20060722060159/public/system &&\n ln -nfs /home/USERNAME/dwightnight.org/shared/log
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 Apr 13
2
Automatic finder
It looks rails automatically creates a "finder" method on models that have a "belongs_to". So I tried this in the console: c = Category.find(2) chunks = Chunk.find_by_category(c) chunks is always returned as an empty array. When I know have some chunks with a category_id of 2. Should the find_by_category do what I think it should be doing or am I completely off base?
2006 Jan 25
7
Ruby on Rails Presentation Wed (1/24) night in Menlo Park, CA
I''ll be giving a 60 to 90 minute presentation covering Ruby on Rails in the San Francisco bay area. Anyone interested in a quick introduction to Rails is welcome to come. The talk will be focused on Rails, but we''ll also field questions about how the rest of our site (Zvents) works. Here are the event details: http://www.zvents.com/events/show/211380 If you''re
2006 Mar 10
8
XML Databinding frameworks
Are there any XML databinding frameworks available for Ruby / Rails, such as Castor or JaXB for Java? Also are there framework such as Apache Axis for WebServices for Rails or Ruby? Regards, Harm de Laat -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060310/3cf0cfd3/attachment.html
2006 Jan 02
2
charting (freechart)
Hi all, We are a Java development team, but we are considering rails for our next project. However in this webapplication I need to do a fair amount of charting. In Java we used JFreechart (http://www.jfree.org/jfreechart/index.php) for this purpose. What are my options for charting in Ruby? Regards, Harm de Laat -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Feb 03
5
writing my own generator
Hi all, I wanted to write my own generator. What would be a good starting point. Is there any documentation on this, Best practices, etc? Regards, Harm de Laat -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060203/c64c4730/attachment.html
2006 Feb 17
27
deployment server
Hi all, On theserverside.com there is an article describing an interview with Bruce Tate, where he calls Java dead like Cobol. See: http://www.theserverside.com/news/thread.tss?thread_id=39066 However in the comments, some guy comes up with a good point: He states the following: <quote> I couldn''t come up with a viable enterprise quality/grade deployment platform for RoR. Even
2006 Apr 02
1
switching environments
Hi all, I created a Rails project on MS Windows. Now I''m on my Mac, and would like to extend this existing project. However, I can not run the script/generate, because the scripts all reference the windows directory of Ruby. Is there an easy way to switch to the Unix environment? Regards, Harm de Laat -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Apr 17
1
Effect.appear
Hi all, Is there a way to use the onLoad event of a page to start the Effect.appeareffect? I''m trying like this, unfortunatly this does not work: <html> <head> <%= javascript_include_tag :defaults %> </head> <body onload="new Effect.Appear(this);"> My Body </body> </html> Any idea how to get this to work? Kind regards, Harm de
2006 Jan 10
1
[AJAX] related drop-down list question
Hi all, I followed the example on: http://www.roryhansen.ca/?p=9 for creating related drop-down lists. However, this code actually creates HTML in the controller component: @albums = Album.find_all_by_artist_id(@params["artist_id"]) @html = "<select id=''album_id'' name=''album_id''>" @html += "<option