similar to: How not to use AJAX

Displaying 20 results from an estimated 1000 matches similar to: "How not to use AJAX"

2005 Jun 08
7
Rails/lighttpd: Changes to controller not being seen?
This is a weird one: My app works fine on our local box with webrick. After uploading to TxD server, the app starts behaving weirdly. I make some edits to one of the controllers and my changes don''t seem to be going through. So I go ahead and change the name of the controller file. The page loads without error. I figure maybe I''m in the wrong directory, so I change the
2005 May 17
5
Strings, Variables and GetText
Hi, I''m starting to use GetText and have this code: render_text %(<script language="JavaScript" type="text/javascript"> parent.mainframe.onUpdateNew("Gallery <b>#{@media.name}</b> was successfully created.", "#{@media.name}","#{String(@media.id)}","#{@media.media_type}"); </script>) I need to convert
2005 Apr 20
4
Error in tutorial or sintax changed?
Hi, In this tutorial http://wiki.rubyonrails.com/rails/show/HowtoUseJoinsWithFindAll it sad: sql =<<SQL SELECT articles.*, authors.name AS author_name FROM articles LEFT JOIN authors ON author_id = authors.id SQL and this return *app/controllers/media_controller.rb:366: can''t find string "SQL" anywhere before EOF* what is wrong? the tutorial or ruby changed? please,
2005 Jul 27
1
Upload Progress, Error in Ajax.PeriodicalUpdater
Hi, I''m using Upload Progress class of rails and geting this javascript error in js console: "*Ajax.PeriodicalUpdater is not a constructor*" The view have somethink like: <%= form_tag_with_upload_progress( {:action => ''create_gallery''}, { :name => ''new_gallery'', :begin =>
2005 Jun 21
3
dynarch calendar problem when used with ajax
I''ve got a partial with a form using the dynarch calendar (calendar_field behavior). Working. Now I render this partial from the action specified in to a link_to_remote. Now when I click the calendar it''s not showed anymore. theese lines: <%= stylesheet_link_tag ''calendar-system.css'' %> <%= javascript_include_tag ''calendar'',
2005 May 29
0
validates_length_of && validates_presence_of: Duplicate error messages?
validates_presence_of :login , :on => :create, :message => "Please enter a login." validates_length_of :login, :within => 3..40, :message => "Login must be a minimum of 3 characters." Right now if the login field is left blank, both these errors get thrown. I assume that setting a conditional for the first one if the second one is thrown, something like
2005 Jun 24
0
lighttpd - sporadic mysql errors
I''m getting a strange error in the production.log (I''m on a TxD shared server). The first entry is a successful request from right after restarting lighttpd and killing all the procs, the second is the error after accessing the site half an hour later without having changed anything. Restarting lighttpd resolves the issue. What might be going on?
2005 Aug 18
0
Vitalsource - what are the potential applications of this?
If you haven''t seen Vitalsource (http://www.vitalsource.com), take a look at it. Very cool stuff, apparently they''re putting a native GUI frontend on their Rails app. What kinds of possibilities does this open up? ___________________ Ben Jackson Diretor de Desenvolvimento ben-p14LI7ZcAE/pVLaUnt/cCQC/G2K4zDHf@public.gmane.org http://www.incomumdesign.com
2006 Feb 17
7
Rich Text Editor (RTE)
Hello, We are developing an commercial application that need to use an RTE. Someone know one RTE editor that can I use in an commercial application? We need basic functions to format paragrapher, bold, italic, ... I found FCKEditor but it is very expensive and weight. I found this list too but don''t know what is trustful: http://www.geniisoft.com/showcase.nsf/WebEditors Some
2005 Jul 14
4
@ERROR: access denied
I'm trying to set up an rsync daemon on my OS X machine to sync my remote subversion repositories. My config file /etc/rsyncd.conf looks like this: motd file = /etc/motd max connections = 25 syslog facility = local3 [repositories] comment = Subversion Repositories path = /usr/local/repositories read only = no list = yes hosts allow = 127.0.0.1 auth users = username secrets file
2005 Sep 13
2
rsync asking for user authentication even with no "auth users"
Hi all, My rsync server was working fine and dandy with only the "hosts allow" method of authentication until my hosting company switched servers. Now after changing my config to reflect the new IP and running rsync mydomain:myrepository/ from the server, rsync asks for authentication for my remote username. Even with this simple config: log file = /var/log/rsyncd.log pid file =
2007 Feb 27
11
Mongrel upload progress not showing progress on production server
Hi all, Tried out the mongrel upload progress plugin with Drb and it works great on my OSX development box, but when putting it into production (Ubuntu Dapper), uploads complete but the app isn''t returning any values for upload progress, and uploads are not showing up in the queue when running upload_client.rb. Before anyone asks, yes, I''m running both the mongrel instances and
2006 Jan 25
17
Lookup pattern in Ruby
Hi folks, I''m curious how a lookup with a large group of values would be handled in Rails. For example, I have a (contrived) AnimalType filtering a list of many Animals--more than can be presented comfortably in a dropdown box. Therefore I need to either redirect to another screen to select an animal (returning after the selection is made), or show a dialog--modal or otherwise--to
2006 Jan 06
1
DHTML on WEBrick
I have some simple dhtml code in my rails app that hides fields I do not need displayed. This worked great as soon as I click on the item that initiates the hide, but within one second it pops back up. My assumption is WEBrick is refreshing to a previous state and I wondered what y''all thought was the appropriate way to handle. I thought maybe the default environment in production would
2006 Jun 18
3
on change of drop down a textfield emerging
hi, i have a situation where i have a list of options from which a user selects his options if its not in the list he/she selects Others/Not Present and a new textfield should pop up and the data entered there should be considered instead of dropdown. i have done this using javascript/dhtml but i was wondering how this can be done using pure rails i.e using some of the RoR apis?. i would
2011 Dec 15
1
lme with nested factor and random effect
Hello all, I'm having difficulty with setting up a mixed model using lme in the nlme package. To summarize my study, I am testing for effects of ornamentation on foraging behavior of wolf spiders. I tested spiders at two different ages (penultimate vs. mature) and of two different phenotypes (one species tested lacks ornamentation throughout life [non-ornamented males] while the other
2005 Aug 17
4
XML Revisited
Hello Guys. I recently contacted polycoms tech support asking if their phones supported XML pushed information to which they replied that only model 600 had a microbrwoser capable of reading dhtml files and such. My question to the community is: is somebody doing any XML info push to any brand of phones except Cisco? How are you doing it? One of the wonders of VoIP should be the means to send
2008 Apr 21
2
Using Prototype Scripts and Google Spider?
Hey... Curious if you anyone has any experience with how Google Spiders index content that is served via a Ajax Call... just curious, cause this would have some impact on whether I would not i would use ajax in for somethings -- Joe Harman m --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2006 Jan 06
2
JOB Opening - South Beach Florida
Fellow Railers... We have a position opening up in the company I work for. It is not a ruby or rails related position but I have a hidden agenda.... ;) I want allies inside... hehe... I''m looking for someone that probably fits most of our profiles: PHP SQL AJAX JS XML XHTML DHTML Please only Web 2.0 oriented people. I might not be able to implement any RoR here soon but the RoR
2004 Dec 26
3
Help building online game
Now I just need some helpful hints from the community as to what I could use to display a hexagonal playing field of about 40x40 hex units. Trying to build an online strategy game with Ruby on Rails. Working out the methodology on paper and then scaffolding some. Any ideas which technologies I could possibly use ? other than just simple .gifs as icons and maybe overlayed css graphics ? Would