Displaying 20 results from an estimated 100000 matches similar to: "re-writing a jscript in Ruby"
2006 Jan 03
1
Where''s the MS jScript reference gone?
Hi
Is it just me or had Microsoft removed all of its on-line
documentation on JScript from its site? All my bookmarks are giving
404s and new searches on MSDN are not finding anything.
Regards
Toby
2007 Mar 08
0
Need a Linux system Engineer RoR
Project Details:
Location: Rockville, MD.
Duration: 1yr
Skills:
Taking direction from the Senior System Architect / Engineer is
responsible for the installation, set-up, configuration, administration,
troubleshooting, tuning and back-up Red Hat OS on various hardware
servers. Provides business day and emergency (remote) support.
The Systems Engineer will be knowledgeable of Linux-based
2008 Jun 24
1
cross domain cookie
My rails server runs on localhost. I want to set a cookie for the
domain ".myapp.com". How do I do this?
(i tried cookies[''xyz] = {:value => ''abc'' ,:domain => ''.myapp.com''} .
It doesnt work. No cookie is being set when i specify domain like
that.
thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
You received this
2008 Jun 06
2
Scriptalicious: Ajax Inline Text Editor
Hi, I''m just starting out with Scriptalicious + Prototype, and I''ve
run into a problem.
I''m trying to create an Ajax.InPlaceEditor that combines the custom
size textbox, and the custom parameter (from the examples in the
scriptalicious documentation)
http://github.com/madrobby/scriptaculous/wikis/ajax-inplaceeditor
I''ve tried a couple different methods (one of
2007 Jan 18
5
Session IDs and SWFUpload
Hi
I''m using SWFUpload in one of my applications, but it has one big
shortcoming: it doesn''t maintain the session. Let me explain:
The user has to login to the application, thus creating an
authenticated session (cookie _session_id client side and the
sessions table server side). However, when you use SWFUpload, the
upload script is called with a new session
2007 Mar 19
3
jQuery Users...
Any jQuery users out there? I would like to learn more about
incorporating jQuery with Rails as the performance seems to be the
best of any library I''ve seen and it is great in separating the
JScript from the HTML. Any suggestions on where to get started? I''ve
read this (http://b.lesseverything.com/2006/12/31/making-jquery-and-
prototype-play-nice-in-rails) but was looking into
2007 Jun 01
5
il8n with Prototype
I''d be grateful for feedback regarding the following:
/* Iterate over elements and lookup translation for language in JSON
dictionary */
function translateChildren(parent, language) {
var phrases = parent.getElementsByClassName(''lang'');
phrases.each(function(p) {
var phrase = p.readAttribute(''for'');
p.innerHTML =
2007 Jul 11
3
Problem with Acts as Authenticated not able to logout
Hi all,
i installed Act_as_Authenticated plugin yesterday, everything seems
fine: trying out the index, divert me to the login screen, i register
and login.
but when i try http://localhost:3000/account/logout, it didn''t work,
after the action been executed, it takes me back to the index as i m
logged in.
i try to clean the localhost cookie from my firefox, and delete those
files in the
2008 Feb 01
2
Turning off InvalidAuthenticityToken for a RESTful Service
Hi,
I was trying to write a RESTful service and was planning on testing
via tools such as cURL and the basic http libs. With the
InvalidAuthenticityToken piece that is turned by default in Rails
2.0.2, I have to provide the token with each request. This is
something of a pain for a programmable client that may not make a GET
request before performing other actions, specifically POST, PUT and
2008 Sep 19
0
Wine release 1.1.5
The Wine development release 1.1.5 is now available.
What's new in this release (see below for details):
- Substantial JavaScript implementation.
- Partial support for layered windows.
- Support for Unicode file export in Regedit.
- Proper exception handling in widl-generated code.
- Asynchronous requests and cookies support in WinHTTP.
- Various bug fixes.
The source is
2012 Oct 12
0
Wine release 1.5.15
The Wine development release 1.5.15 is now available.
What's new in this release (see below for details):
- Full support for layered windows.
- New version of the Gecko engine based on Firefox 16.
- Support for broadcast sockets used by networked games.
- Downloaded add-ons installers are now cached.
- Support for persistent Internet cookies.
- String optimizations in JavaScript.
2007 Mar 01
4
Cookie based session management problems
Edge has a change in default behaviour where sessions are stored as
cookies instead of in the file system. This was a pleasant surprise when
I synced up, fired up my app, and nothing worked. Ah, life on the edge.
I''m sure I''m just missing something, but I can''t get sessions to survive
the first redirect. I added the following code to environment.rb, based
on
2012 Dec 21
0
Wine release 1.5.20
The Wine development release 1.5.20 is now available.
What's new in this release (see below for details):
- A bunch of dlls with ugly names for API sets support.
- More ATL functions implemented.
- Still more C++ runtime functions.
- Several text rendering fixes.
- PostScript driver improvements.
- Various bug fixes.
The source is available from the following locations:
2009 Feb 19
1
Switching to ActiveRecord Session Store
I''m having a problem switching from cookie sessions (the default) to
active record sessions.
I''ve created the sessions table via the rake task, uncommented the
line
config.action_controller.session_store = :active_record_store
in my environment.rb file, cleared out my browsers cookies, restarted
the server (natch), but still the it''s using cookie_store instead of
2008 Apr 15
4
ActiveRecord::StatementInvalid in BlogController#index
Hello. I''m trying to do the video tutorial "how to build a blog engine
in 15 minutes with ruby on rails" from the main rubyonrails website,
and I''m getting an error when I try to use scaffold :post after
editing my config file for the mysql database.
Here is the exact error I''m getting:
ActiveRecord::StatementInvalid in BlogController#index
2006 Nov 23
0
Cookie Implementation
Hi,
I am trying to remember certain information like username using cookies
so that when the same page is accessed again, some default settings can
be maitained.I am facing a problem when reading the cookie value.
The steps that I follow are:
1. Click a button in a view which will pass the control to a controller.
2. In the controller, the username which as passed as a parameter is
saved in a
2008 Apr 15
4
InvalidAuthenticityToken exception when deleting cookies
Hello,
I''ve been testing my project with some manual tests. One of them
consists of deleting cookies ("clean personal info" in firefox) just
before submit the login form. Then, I get an error.
The error message is: ActionController::InvalidAuthenticityToken in
SessionsController#create
I''m on Rails 2.0.2 with restful_authentication plugin. I''m using
2007 May 10
5
Setting P3P header before Set-Cookie
Hi folks,
For a project I''m working on, I need to set an HTTP header BEFORE the
Set-Cookie header is sent. Basically, I need to send along our compact
privacy policy before the cookie is set.
I''ve tried using:
@headers[''P3P''] = "P3P: blah blah blah..."
...but the problem is that no matter what I do, the Set-Cookie header is
sent first, and the P3P
2008 Apr 17
1
Getting Started with Databases
Hi everyone. Brief intro - I''m in the process of redesigning a website and
I''m exploring programming options for the redesign. I discovered ruby in
efforts to understand it and maybe make a recommendation.
Anyway, currently I am trying to create a database and a table, and be able
to vew and edit it with the web front.
I am working from a tutorial called "Getting Started
2007 Feb 20
4
Best way to implement syntax sugar?
Hi!
I''m *very* new to rails, I just dove in about a month ago and I''m
loving it.
One thing I decided I immediately wanted to do, was shorten the
number of keystrokes neccessary to URI, HTML, or Jscript encode something.
The project I''ve come into already has helpers defined for this.
Right now, what I''ve done is:
alias h! string_esacpe_html
alias u!