similar to: True ActiveRecord result set iteration

Displaying 20 results from an estimated 200 matches similar to: "True ActiveRecord result set iteration"

2006 Dec 20
1
Problem with Oracle function-based indexes in Rails
Hello, We''re using Rails on an Oracle database. If we define an index like the following, we end up with problems during the "db:schema:dump" rake target. add_index "emcolumn", ["upper(name)"], :name => "ind_emcolumn_uname" The created schema.rb file contains: add_index "emcolumn", ["sys_nc00013$"], :name =>
2006 Feb 07
5
OCI adapter slowdown on dictionary access
Hi, after some experience with Rails on MySQL databases I gave it a try on one of our larger Oracle database. I was facing a problem when Rails tried to detect the columns for a model/table. The appropriate statement ran about 1 min which led to a timeout. Our Oracle guru told me to analyze the SYSTEM schema. After that hadn''t helped, he said the only remaining chance is to use a
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]
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
2008 Oct 27
9
License Question
Dear All, I learned about R during my studies at Cologne University of Applied Science. Now I work at Allianz Dresdner Bauspar AG and I would like to install R here too. Is there any license issues that need to be taken in consideration, any fees to pay by the company? I know there are answers to this in the FAQs but I didn't really understand the legal language. Could you therefore just give
2003 Apr 15
1
Two --bwlimit issues
Hi, I have two issues with the --bwlimit parameter to rsync which are not mentioned in the FAQ (please correct me if I am wrong): 1. When both an rsync client and an rsync daemon specify the --bwlimit parameter, the client's value overrides the server's value. This could be used in a DOS attack if the client uses a larger value than the server intended. The documentation also is
2018 Feb 06
2
win 10 login - Not enough storage is available to process this command
hi everyone I've had a Win 10 Pro client to a non-AD samba fine for a long time. Suddenly I could not logon new user(which had not logged in on that Win box before). I was lazy, I remember that quickest thing that worked once in the past was remove & re-add client, you know, in Windows itself, to the domain. Now I cannot login any user at all at that Win box(even though the box was
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
2018 Feb 06
0
win 10 login - Not enough storage is available to process this command
Is this one computer causing issues, or more than one? When logged in to the computer, what do you see in the Event Viewer (eventvwr.msc) relating to the time of your login? Are you using Samba in NT mode or AD mode? Can you run a command as an AD user (for example, click on Start, press Shift as you right-click on an application and choose "Run as other user...", and enter a domain
2002 Jan 13
14
Windows XP
Good evening all, I'm running samba 2.2.2a on RedHat 7.2 as a PDC and until today all was well. One of my users upgraded their workstation to Windows Xp pro and although they received a message "Welcome to the domain" when they try to log on they receive the message that the domain comptroller cannot be located to validate their account. The workstation show up in the browse list.
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
2002 Sep 30
4
problem with Samba in domain
Hello! I have a samba fileserver (Debian Woody, Samba 2.2.3a) that I am trying to join into an NT domain (smbpasswd -j ...); the command says that it joined the domain successfully. Then I setup security=domain, workgroup name etc. as outlined in the samba howtos. However whenever I try to access a share on the Samba server I am prompted for a password (even though I already logged in through
2006 Sep 12
1
samba with ldapsam: first "net join" always fails, second succeeds
Created an "add machine" script that basically looks for an unused uid/rid, and then creates a stub LDAP entry for the machine; the first time I issue "net join", the script is invoked and creates the LDAP entry correctly, but the join operation fails nevertheless: f1sa:~# net -U winadmin join winadmin's password: [2006/09/08 10:19:40, 0] utils/net_ads.c:ads_startup(191)
1999 Dec 20
1
Samba performance on FreeBSD
Dear Samba team & other readers, I'm a satisfied user using Samba as a file server for Windows based networks and I'm primarily using FreeBSD for this purpose. When I started to use Samba about half a year ago, I was upset about the lousy performance but tried my best to search for that problem at myself. The machine at this time as a Pentium/200 PC with some SCSI harddisks and 64
2006 Aug 09
0
Agile Web Development - 2nd Edition -- Iteration D3 problem
hi, This is regarding the "Depot Application". Section 9.3, Iteration D3 -- Highlighting Changes. I''ve followed this exactly according to the PDF, but it doesn''t work. The Ajax cart works, the blind_up and blind_down works. But couldn''t get the highlighting of the current item to work. Tested in Opera 9, FireFox 1.5 and IE 6 -- no luck !! I even
2006 Aug 17
2
Knowing the partial iteration number
Hi, How can I know the iteration number of a *render (:partial)* iterating through a collection? Example: I got a collection containing 3 elements: *John *Pierre *Chris John would respond to 1, Pierre to 2 and Chris to 3 and so on... Kind of like the *cycle* method acts but to know the iteration number. Guillaume Carbonneau -------------- next part -------------- An HTML attachment was
2006 Jul 27
2
(Agile Rails 2nd ED) Depot App: Iteration B1 500 Error
Hello: I am working through the 2nd Edition of the agile book (after watching the first edition age on my shelf for 6 months), and am having a problem with the newly created ''store'' I''ve checked the files and fucntions that I''ve written, namely: model/product find_products_for_sale controller/store index views/store/index.rhtml and they all seem to have