similar to: Proper use of the where method om ActiveRecord.

Displaying 20 results from an estimated 2000 matches similar to: "Proper use of the where method om ActiveRecord."

2012 Nov 12
3
Updating objects in arrays
Perhaps this is a Rails issue. However, I need to first determine whether I simply am missing something about updating members of an array. I have an array of 10 ActiveRecord objects. I wish to iterate over the array and update an attribute. When I do this the underlying table row changes but the object in the array frequently does not. For example: count = 0 current_entries.each do
2008 Apr 28
16
GiT and Edge/Trunk Rails
I have a sub-application project that I had previously converted to edge rails under svn. Originally, vendor/rails was set up with svn:externals so that an svn update at the project''s root would pull the latest trunk along with all the other updates. Since Rails has moved to GiT and depreciated svn I decided to remove the svn:externals reference for vendor/rails and reinstall trunk using
2011 Nov 07
2
Problem with Rails3.1.1 in mass_assignment_authorizer
By accident I had Rails-3.1.1 installed by bundler. However, when I discovered this mishap during my feature run I encountered this error in many places: wrong number of arguments (1 for 0) (ArgumentError) /home/byrnejb/.rvm/gems/ruby-1.8.7-p352/gems/activemodel-3.1.1/ lib/active_model/mass_assignment_security.rb:209:in `mass_assignment_authorizer''
2012 Sep 04
1
lscfg and vpdupdate om CentOS-6
Are these packages still available for RHEL6/CentOS6? If so then where does one get them? If not then have they been replaced with something else? There does not seem to be a listing for them at epel. -- *** E-Mail is NOT a SECURE channel *** James B. Byrne mailto:ByrneJB at Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley
2005 Jul 29
3
More issues with Rails Book Cart tutorial.
I am presently trying to get the cart section (chapter 8.) working and after following the instructions as carefully as I can determine I am nonetheless getting the following errors: URL=http://localhost:3000/store/add_to_cart/10 NameError in Store#add_to_cart undefined local variable or method `parms'' for #<StoreController:0x376ee60>
2011 Aug 29
32
Weird assignment problem, very confused :(
Hey, I have the following line in my controller: User.create(:email => "fuuu-+RB1Aph5k6s@public.gmane.org", :password => ''asldfkjadsfadsf'', :ip => request.remote_ip) my IP is 127.0.0.1 - now User.find_by_ip(''127.0.0.1'') returns 0 records although User.first contains ''127.0.0.1'' if I change it to: User.create(:email =>
2017 May 04
2
iaxModem pickup problem
We run Asterisk 13 using the FreePBX 13.0.190.19 distro based on CentOS-6.4. We also run HylFAX+ 5.5.3 with iaxModem 1.2.0 on the same system with AdvantFAX as the web front-end. Our two fax lines are configured as iax2 DEVICES. These components have been working together through various versions since 2013. On Tuesday last our site was subjected to a prolonged power outage that drained our
2009 Nov 03
3
Proper configuration for DNS slaves and masters
I have the following layout DNS01 - Master DNS02 - Remote slave DNS03 - Local network slave The master is configured so: acl HLLnetworks { 209.47.176/24; 216.185.71/24; }; options { allow-query { any; }; allow-recursion { HLLnetworks; }; allow-transfer { HLLnetworks; }; directory "/var/named"; dump-file "/var/named/data/cache_dump.db";
2010 Mar 10
6
Help with Ruby on Rails setup using Centos 4
Before asking questions about Ruby on Rails setup on CentOS 4, I want to make sure that this forum is the proper place for those questions. Are there any members who can help? Many thanks... Todd -- Ariste Software Petaluma, CA 94952 http://www.toddcary.com/aristephotography/
2004 Aug 14
1
Time to finally remove the old Om names?
Xapian 0.7.0 changed all the external names to use a Xapian namespace rather than an Om prefix (for classes) or an om_ prefix (for types). I implemented a compatibility layer which allowed older code to still be compiled, with the plan that this would be removed after a transition period to give people a chance to update their code. Xapian 0.7.0 was released on 2003-07-03 - more than a year ago.
2006 Nov 12
0
om invites you to join Zorpia
Hi openssh-unix-dev at mindrot.org! Your friend om from , just invited you to his online photo albums and journals at Zorpia.com. So what is Zorpia? It is an online community that allows you to upload unlimited amount of photos, write journals and make friends. We also have a variety of skins in store for you so that you can customize your homepage freely. Join now for free! Please click the
2005 Apr 29
2
udev om Opteron
Hello, We have a few systems where udevd seems to failing silently on Opteron based Centos 4 boxes. Has anyone else seen this? -geoff
2004 Jun 02
1
Unable to execute program from smbldap-passwd.pl om samba 3.0.4
Hello! Recently I've migrated from samba 2.2.8a to 3.0.4. I use ldap as user database backend. To synchronize unix password the smbldap-passwd.pl script is used. But I need to sync virtual mail passwords as well. That is why I added to the script few lines of code. Mainly I call external programs. The code is like this: system("/etc/cron.hourly/sqwebmail-cron-cleancache"); When I
2005 Jul 17
1
Read error om sound device
Hi list, I have an asterisk box running on a via C3 motherboaard/Debian Sarge. Installed version was the Debian packages one 1.0.7-bristuff. I use this box with the console dial command and it was working fine. Cards info are: cat /proc/assound/cards 0 [V8235 ]: VIA 8233 - VIA 8235 VIA 8235 at )xe400, irq 11 Now I installed the bristuff+asterisk 1.0.9 and always have in my logs
2012 Dec 05
0
Action Mailer 3.2.9 retruns duplicates in deliveries array
I am extracting a standalone batch application from a Rails 3.0.1 project. This requires only ActiveRecord and ActionMailer. In my testing I set ActionMailer::Base.delivery_method = :test This causes the mail to be delivered to the ActionMailer::Base.deliveries array. However, I am getting two of the test email messages placed in the deliveries array instead of just one. For example:
2005 Apr 26
3
many instances om imap and imap-login
Hi, Im using dovecote as my IMAP interface. However i do have a lot of imap instances. its only 7 user using the system as i get this. please advice. 1230 ? S 0:00 imap-login 1309 ? S 0:00 imap-login 1387 ? S 0:00 imap-login 1388 ? S 0:00 imap-login 1389 ? S 0:00 imap-login 1390 ? S 0:00 imap-login 1391 ? S
2012 May 07
1
1.8 busypatterns
Hi, is it possible to detect 4 length pattern busy cadence detection on FXO lines in 1.8?? Here the tones are: 425Hz Pattern(0.2ms on, 0.2ms off, 0.2ms on, 0.6ms off) in asterisk 1.4 busy detect worked in asterisk 1.6 didn?t work and i was told that 1.6 can?t handle 4 length patterns, but what about 1.8?? for now I can only hangup by asking the provider polarity switch. Thanks best
2006 Apr 26
3
Problems connecten a pc to samba om fedora server
Hello, I have problems to connect my pc to my samba server. I can log in to the server and I can se some folders but i can't access them. The error message i recive in the log file looks like this: [2006/04/26 15:20:22, 3] lib/util_seaccess.c:se_access_check(250) [2006/04/26 15:20:22, 3] lib/util_seaccess.c:se_access_check(251) se_access_check: user sid is
2012 Sep 13
10
access key error
I am getting following error while run my rails app in my server ActionView::Template::Error (You did not provide both required access keys. Please provide the access_key_id and the secret_access_key.): -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2015 Mar 10
2
Fail2Ban Centos 7 is there a trick to making it work?
On Mon, March 9, 2015 13:11, John Plemons wrote: > Been working on fail2ban, and trying to make it work with plain Jane > install of Centos 7 > > Machine is a HP running 2 Quad core Xeons, 16 gig or ram and 1 plus TB > of disk space. Very generic and vanilla. > > Current available epel repo version is fail2ban-0.9.1 > > Looking at the log file, fail2ban starts and stops