similar to: RJS Templates & Safari?

Displaying 20 results from an estimated 8000 matches similar to: "RJS Templates & Safari?"

2006 Jan 20
10
1st attempt at rails testing - could really use some help...
Howdy, I''m attempting my first rails test & I could use some help... I have the test posted at http://rafb.net/paste/results/YjWkIh45.html... when I run it, the test fails, but the db table is never restored & it seems that the fixtures file was never loaded... Any ideas as to what I''m doing wrong? Thanks! -- Posted via http://www.ruby-forum.com/.
2006 Jan 22
12
Problems with File_column
Hi, Rails - newbie here.. I''m setting up an app and am trying to use file_column to upload a picture with an item and I''m running into several problems. (Background: I''m running Locomotive Rails under OS X 10.4.4, and using Safari) I followed the directions to add the necessary items, then found out that I had to add the item to make the form tag be a multipart
2006 Jan 02
5
NoobyQ: how to work with a table of static lookup data??
Hello out there! Nooby question: What''s the "Rails" way to work with tables of relatively static lookup data? Objectively (I''m thinking); I don''t want to hit the DB each time, so for each lookup table, initialize a globally available hash with lable/value pairs... Am I on the right track? How would you do this kind of thing in Rails? Thanks! --
2006 Jan 23
15
Looking for DB/Model Design Suggestions
Hi, I''m working on an app - my first Rails - and am looking for some suggestions on the best way (or good way) to set up my models / DB. In general there are teams and matches; a team will participate in multiple matches, and in each match there will be 6 teams - 3 vs. 3. I''m going to want to be able, for a particular team, pull up all matches for that team, to display a
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 Jan 01
11
Can rails make use of accesskeys?
I added :accesskey=>"D" to the html options hash of my link_to tag but nothing happened. Should I keep trying or is this not an option yet? bruce
2006 Jun 23
3
Ajax errors in safari
I am implementing some AJAX features into a web forum, and one feature works fine in Firefox and in IE, but it is choking in Safari. Safari will send the request fine and the data will be stored in the DB, but it is not responding correctly to the RJS that is being sent back. Anybody notice issues with Safari parsing the javascript sent back to the browser? -- Timothy Johnson
2005 Dec 24
2
Ajax Help: Multiple Updates - ?
Hi! Wondering if anyone can tell me what''s wrong with my code? I''m trying to use the onChange event of a select list to update multiple divs... Agile Web Development with Rails (p. 403) suggests using ":complete => eval(request.responseText) instead of :update" I''ve attempted the following test code: # in the view <select name="plist",
2006 Mar 23
1
Using ImageMagick with Locomotive
Hi, I''m trying to use the routines on this page: <http://addictedtonew.com/archives/127/rotating-images-with-rmagick-and-ruby-on-rails/> to try and rotate some images. I tried using the script/console to do some testing, - I know ImageMagick is working, as I''m using the filecolumn plugin to resize images as they are loaded. When I try, using the console, to rotate an
2008 Mar 19
6
Back button behavior has changed again in Safari 3.1, after doing a dom update via ajax/RJS
GAH! Here is the firefox behavior, which is perfect: 1) View page 1 2) Update some text by using link_to_remote or remote_form_for, along with an RJS replace or replace_html 3) Navigate to page 2 4) Hit back 5) Page was cached with dom updates, note that the page is show in the same state as it was left Safari 3.0 behavior 1..4) repeat 5) Page reloads, ending up in the state where it was left
2006 Apr 13
10
Code Igniter
Hi all, I was just made aware of this: <http://www.codeigniter.com> I wonder where the inspiration comes from? Lots of very similar concepts there ;) I''ve only watched the intro movie so far, but very interesting. jt
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 May 12
12
Anyone tried the recent Mac OS X Security update?
It includes a patch for Ruby. I have already installed 1.8.4 from source, and updated my PATH to look in /usr/local first, so I don''t imagine that anything Apple does to "their" copy of Ruby will have any impact on me, but I''m wondering if the changes to their Ruby is something that needs to be done to 1.8.4 as well. Thoughts? Walter
2006 Apr 06
1
Strange message in fastcgi.crash.log
Hi, I just installed Ruby 1.8.4 and Rails using the HiveLogic instructions (I had been using Locomotive, and decided to make the big leap). Everything seems to go well, I set up a simple test app and it does run using script/server (using a sqlite3 database). I am noticing that when I use Control-C to stop the server, I''m seeing this message in the fastcgi.crash.log file:
2006 Apr 30
3
Problem(?) updating gems - mysql gem
Hi, On OS X (10.4.6), Rails 1.1.2... I tried doing a sudo gem update, and this is the result I''m getting: Upgrading installed gems... Attempting remote upgrade of mysql Attempting remote installation of ''mysql'' Select which gem to install for your platform (powerpc-darwin8.6.0) 1. mysql 2.7.2006.04.21 (mswin32) 2. mysql 2.7 (ruby) 3. mysql 2.6 (ruby) 4. mysql
2006 Jan 12
2
file_column issue: file upload fails without error
environment: Locomotive + Rails 1.0 Max Lighttpd 1.4.8, FastCGI 2.4.0 Ruby 1.8.2 File_column version: 0.3.1 Path to file_column: /vendor/plugins/file-column/ symptom: Uploading a file using file_column fails; no file is uploaded and the "filename" column remains blank. No error messages are produced - a new record is created with blank filename. code and log here:
2006 Jun 06
1
Getting value of form using Ajax (and problems with Safari)
I have got two forms, the first is a textarea plus a link that activates some javascript to change the form, the second activates some javascript on the onchange event which changes it into a textarea form. This works in Firefox, but not in Safari. Also, I need the value which is selected. I''ve found an example that gives the parameter to the javascript, like this: <input
2006 Apr 07
5
RJS support "toggle" effect?
Does RJS inherently support the Element.toggle effect? I haven''t been able to call it the way you call "appear", "fade", etc... Jeff -- Posted via http://www.ruby-forum.com/.
2006 Jan 29
1
Works with iframe, but not ajax... ?!?
Hello all, I''ve run into trouble attempting to replicate something in ajax that worked when done with an iframe... In both cases I have a table inside a div that is being periodically refreshed every few seconds... The 1st column of each row in the table contains a link to a DHTML popup menu. I have the popup menu working in the ajax version. The problem is that in the ajax version
2006 May 23
2
In Place Editor Fields and Safari
Hi, Does anyone else have any problems with Safari and in place editor fields? I''m specifically talking about trying to save a null value in a text box. In Firefox/IE/Camino/etc... saving a null value from an in place editor works how it''s supposed to. If the value is null, then ''click to edit'' is displayed. However with Safari when a null value is saved,