Displaying 14 results from an estimated 14 matches for "pc5nmwq".
2008 Nov 28
1
True ActiveRecord result set iteration
...IMHO it
doesn''t break the AR metaphor.
If you like the idea and want to send feedback, please CC me. I''m not
subscribed to the list.
Regards,
Andreas
--
OTTO Software Partner GmbH, Freiberger Str. 35, 01067 Dresden, Germany
Andreas Gungl (e-mail: Andreas.Gungl-nIYYjubZuqizQB+pC5nmwQ@public.gmane.org)
Tel. +49-351-49723-140 - Fax: +49-351-49723-119
AG Dresden, HRB 2475
Geschäftsführer Burkhard Arrenberg, Jens Gruhl
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" g...
2008 Jan 16
3
is there something like addslashes and stripslashes in prototype
if i would save the content of a textarea into mysql i eventually have to
mask things like ,"/\ and so on.
in php there are the add- and stripslashes functions you could use.
is there somthing compareable like this in the string object of prototype?
if not, it would very nice to have, i think.
function addslashes(str) {
str=str.replace(/\''/g,''\\\'''');
2013 Jun 11
1
cluster.min-free-disk working?
Hi,
have a system consisting of four bricks, using 3.3.2qa3. I used the
command
gluster volume set glusterKumiko cluster.min-free-disk 20%
Two of the bricks where empty, and two were full to just under 80% when
building the volume.
Now, when syncing data (from a primary system), and using min-free-disk
20% I thought new data would go to the two empty bricks, but gluster
does not seem
2013 Dec 10
4
Structure needs cleaning on some files
Hi All,
When reading some files we get this error:
md5sum: /path/to/file.xml: Structure needs cleaning
in /var/log/glusterfs/mnt-sharedfs.log we see these errors:
[2013-12-10 08:07:32.256910] W
[client-rpc-fops.c:526:client3_3_stat_cbk] 1-testvolume-client-0: remote
operation failed: No such file or directory
[2013-12-10 08:07:32.257436] W
[client-rpc-fops.c:526:client3_3_stat_cbk]
2008 May 30
6
Session problem
Hello everyone,
I am just starting a project for school in RoR and I am a complete
n00b ^^
Here''s my problem :
I need to get the user''s login stored in the session but for some
reason I cannot.
Here''s my login method code :
def login
if request.post?
@user = User.find_by_username(params[:login])
if @user and @user.password_is? params[:password]
2013 Oct 08
0
A new version of the package “TestSurvRec” is now available on CRAN
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20131008/d45017b1/attachment.pl>
-------------- next part --------------
_______________________________________________
R-packages mailing list
R-packages at r-project.org
https://stat.ethz.ch/mailman/listinfo/r-packages
2012 Apr 06
3
I can't update data in table
In my edit page: url = profile/:id/edit
the content is !
<%= form_for(@user, :as => :user, :url => profile_path(current_user),
:html=>{:method => :put}) do |form| %>
<%= form.text_field :email, :class=>"input"%>
<%= form.submit ''Update Profile''%>
<% end %>
............................
In controller section !
class
2013 Jul 15
4
GlusterFS 3.4.0 and 3.3.2 released!
Hi All,
3.4.0 and 3.3.2 releases of GlusterFS are now available. GlusterFS 3.4.0
can be downloaded from [1]
and release notes are available at [2]. Upgrade instructions can be
found at [3].
If you would like to propose bug fix candidates or minor features for
inclusion in 3.4.1, please add them at [4].
3.3.2 packages can be downloaded from [5].
A big note of thanks to everyone who helped in
2007 Jan 17
0
Triggering Autocompleter by button
Hi!
I got a Autocompleter on my page and its working fine. For mouse-users
I need a button which triggers the Autocomplete. I tried a
this.getUpdatedChoices(); and it starts a request, but it doesn''t seem
to handle the response.
----------------------------------------------
Ajax.TriggerableAutocompleter = Class.create();
2005 Dec 01
0
[MySQL] extended count function for use with queries containing a GROUP BY clause
Hi everybody.
While playing around with pagination I noticed that when using certain
GROUP BY clauses Rails would think that your result contains less lines
than it actually does. This is related to the use of a plain "SELECT
COUNT(*)" for getting the number of total rows which the following query
will return.
In order to bypass this problem, I created the following replacement for
2005 Dec 03
1
shared methods for controllers belonging to a specific module
Hi everyone.
I was just wondering what the best way ™ might be to let all controllers
of a module share methods and variables. Is there some "magic" file
rails will automatically load when a module is requested or do I have to
manually (doesn''t sound like the rails way..) create a class with the
desired methods/variables and let my controllers inherit from it? If so,
where
2006 Mar 06
0
Problems with unregister draggable
hi!
i am working on a tree which allows moving nodes/subtrees via drag&drop.
since i am not a javascript expert i try to stick to the script.aculo.us
library without modifying anything. the nodes are loaded dynamically
from my rails-app and have a unique ID.
when a node gets moved to another folder, it disappears at its original
destination (via Element.remove()) and gets drawn as soon
2006 Mar 29
2
Drag/Drop and KeyPress
Hi!
is it possible to make a drag dependent on a KeyPress event? I couldn''t
find any information on that on the script.aculo.us website.
My scenario is the following:
I have a tree with several nodes (like windows explorer). Right now i
use Drag & Drop to move a node below a new parent.
Now i want to implement a copy mechanism which allows the user to copy a
node through Drag
2005 Dec 14
1
[scriptaculous] scroll down to show full auto completion list (w/ possible patch)
Hi everyone,
lately I''ve implemented an auto completion textfield at the bottom of a
form. I was a bit bothered by the fact that the user would potentially
need to scroll down in order to see all the options offered by the auto
completion. I couldn''t find any information on how to auto scroll to the
auto completion list with bulit-in functionality so I modified
controls.js