search for: activ

Displaying 20 results from an estimated 8649 matches for "activ".

Did you mean: active
2012 Apr 14
7
undefined method `model_name' for NilClass:Class
Hi guys, I just started using Ruby on Rails. After implementing the RoR blog tutorial I started with my own data model. Sadly I am not able to get my create page running. Model: class Activity < ActiveRecord::Base validates :activity, :presence => true validates :forKids, :presence => true validates :start_date, :presence => true end Controller: class ActivitiesController < ApplicationController def index @activities = Activity.all respond_to do |format|...
2010 Apr 08
1
ZFS monitoring - best practices?
We''re starting to grow our ZFS environment and really need to start standardizing our monitoring procedures. OS tools are great for spot troubleshooting and sar can be used for some trending, but we''d really like to tie this into an SNMP based system that can generate graphs for us (via RRD or other). Whether or not we do this via our standard enterprise monitoring tool or
2007 Jul 29
6
Isolating rails model specs from their implementation
I''m currently taking a Rails project management app I built when learning Rails and adding specs to it. During the course of building the app the requirement that project should be archiveable was added. So a project is in one of two states active or archived. This led to the creation of the following methods: Project.active_projects Project.archived_projects @project.active? @project.archived? @project.archive! @project.unarchive! The current implementation of this is using a separate table of "visibilities" as follows: # Im...
2010 Sep 17
1
multipath troubleshoot
...scanned using echo "1" > /sys/class/fc_host/host5/issue_lip echo "1" > /sys/class/fc_host/host6/issue_lip I can see the scsi device using dmesg But mpath device are not created for this LUN Pleas see below. The last 4 should be active and I think this is the problem Kernel: 2.6.18-164.11.1.el5xen , EL 5.5 -- [root at cvprd3 lvm]# multipathd -k multipathd> show paths hcil dev dev_t pri dm_st chk_st next_check 5:0:0:0 sdb 8:16 1 [active][ready] XXX....... 7/20 5:0:0:1 sdc 8:32 1 [active][read...
2006 Jul 06
1
Multiple Keys in a Database Table
...previous posts to the list stating how Rails lacks multiple key support for database tables, and how support is not planned. I''m OK with that, but I''m wondering if there''s an elegant way to do what I need, for my in-house customer relationship management tool: I have an ACTIVITIES table. That table is a collection of individual, unique activities created by users of the system. Activities have activity types, listed in the ACTIVITY_TYPES table (and joined by an activity_type_id in the activities table, naturally). Right now, there are four activity types, but that table...
2007 May 22
3
can I use acts_as_list with a has_many :through association
...e to be able to use a has_many :through association and treat the associations as a list but I''m getting this error when I try an use an acts_as_list method: NoMethodError: undefined method `move_to_bottom'' I''m using edge rails r6786. Here are my domain rules: Activities are things students can do. Units consists of a sequenced list of Activities. Activities can be used in many Units. Here are the associations for these rules: class Activity < ActiveRecord::Base has_many :unit_activities has_many :units, :through => :unit_activities end cl...
2000 Mar 07
1
samba, win98, and browse list problem.
Hello, Here''s a repost on my message of a few days ago, for reasons that I''m not sure if it went through. If it did, my apologies, all suggestions welcome. I''m having an identical problem on slackware linux 7.0 and freebsd 3.4-release and windows 98-2, with sp1, and samba 2.05 and 2.06, depending on which system I''ve got up. Whenever I restart samba for
2012 Dec 11
15
Samba 4.0 released - The First Free Software Active Directory Compatible Server is now available !
...mba 4.0 ============================= December 11th 2012. The Samba Team is proud to announce the release of Samba 4.0, a major new release of the award-winning Free Software file, print and authentication server suite for Microsoft Windows clients. The First Free Software Active Directory Compatible Server ========================================================== As the culmination of ten years'' work, the Samba Team has created the first compatible Free Software implementation of Microsoft?s Active Directory protocols. Familiar to all network administrators, th...
2012 Dec 11
15
Samba 4.0 released - The First Free Software Active Directory Compatible Server is now available !
...mba 4.0 ============================= December 11th 2012. The Samba Team is proud to announce the release of Samba 4.0, a major new release of the award-winning Free Software file, print and authentication server suite for Microsoft Windows clients. The First Free Software Active Directory Compatible Server ========================================================== As the culmination of ten years'' work, the Samba Team has created the first compatible Free Software implementation of Microsoft?s Active Directory protocols. Familiar to all network administrators, th...
2009 Jan 13
2
mounted.ocfs2 -f return Unknown: Bad magic number in inode
...ocfs2 pocrhel2, pocrhel1 Devices: sda and sdf are different paths to the same LUN. dm-0 is the multipath as stated by the following command: multipath -ll ASM_DISK_4 (360060e80056583000000658300004064) dm-3 HITACHI,OPEN-V [size=9.0G][features=0][hwhandler=0] \_ round-robin 0 [prio=2][active] \_ 0:0:1:4 sde 8:64 [active][ready] \_ 1:0:1:4 sdj 8:144 [active][ready] ASM_DISK_3 (360060e80056583000000658300004063) dm-2 HITACHI,OPEN-V [size=9.0G][features=0][hwhandler=0] \_ round-robin 0 [prio=2][active] \_ 0:0:1:3 sdd 8:48 [active][ready] \_ 1:0:1:3 sdi 8:128 [active][ready] ASM_DIS...
2010 Nov 22
3
can't activate i18n (~> 0.4.1, runtime) for ["mail-2.2.10"
...meant to precisely avoid these problems? thanks a lot for your help I tried bundle install / check , deleted old lockfile and regenerate it, but nothing worked. rails generate controller testcontroller index /opt/local/lib/ruby/vendor_ruby/1.8/rubygems.rb:233:in `activate'': can''t activate i18n (~> 0.4.1, runtime) for ["mail-2.2.10", "actionmailer-3.0.3", "rails-3.0.3"], already activated i18n-0.5.0beta1 for ["activemodel-3.0.3", "actionpack-3.0.3", "rails-3.0.3"] (Gem::LoadError) fr...
2005 Nov 16
1
Rails app exception "can't activate active support"
I have gotten several rails apps running under Apache. However today when I tried to run them I get exceptions like this in the http error_log: sh-2.05b$ tail /var/log/httpd/error_log /usr/lib/ruby/site_ruby/1.8/rubygems.rb:144:in `activate'': can''t activate active support (= 1.1.1), already activated activesupport-1.2.3] (Gem::Exception) from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:162:in `activate'' from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:161:in `each...
2006 Mar 28
2
Fastest way of adding " " around multiline text in RADRAILS
...hen i paste it into rad rails i have to add quotes and the ''+'' symbol to the end of each line. It is very tedious. What is the best method? select timesheets.employee, sum(items.hours) as hours, sum(items.hours*timesheets.cost) as cost, sum(items.hours*timesheets.charge*decode(activities.chargetype,0,1,0)) as charge, sum(items.hours*decode(activities.chargetype,0,1,0)) as chargehours from timesheets, contacts, items, activities, employees, divisions where contacts.com_branch_id = 241 and employees.contact_id = contacts.CONTACT_ID and contacts.expired=0 and timesheets.id = ite...
2009 Nov 22
2
WARNING: Can't mass-assign these protected attributes: active
Hi, I''m trying to understand this error: WARNING: Can''t mass-assign these protected attributes: active I had this error before when creating a record.I did not mark the attibutes posted from the form as attr_accessible, so when the following line tries to execute it throwed an Warning in the log, and the record was not saved. @user = User.new(params[:user]) I find out that I have to have the att...
2008 Jan 01
5
Tracking user''s activity
Greetings, I''ve been looking for a proper way to to track down user''s activity inside the shell as I''m helping my colleague to configure a web hosting and shell hosting server. Someone have referred me to this article -- http://bsdtips.utcorp.net/mediawiki/index.php/Snoop which is using ''watch'' commands to view user''...
2007 Jan 22
1
Observed models cause failures with DRBSpec ?
Hi all ! I don''t believe I am the only one using model observers, right ? Well, here''s a nice one: $ drbspec spec . Finished in 0.125322 seconds 1 specification, 0 failures $ drbspec spec F 1) ''A user with an inactive and an active project should be able to return active projects only'' FAILED [] should == [#<Spec::Mocks::Mock:0xb75590bc @name="active", @options={}>] ./spec/models/user_spec.rb:11: script/rails_spec_server:17:in `run'' script/rails_spec_server:...
2009 Nov 06
18
xenoprof: operation 9 failed for dom0 (status: -1)
Renato, When I tried running "opcontrol --start" (after previously running "opcontrol --start-daemon") in dom0, I get this error message: /usr/local/bin/opcontrol: line 1639: echo: write error: Operation not permitted and this message in the Xen console: (XEN) xenoprof: operation 9 failed for dom 0 (status : -1) It looks like opcontrol is trying to do this:
2009 Nov 06
18
xenoprof: operation 9 failed for dom0 (status: -1)
Renato, When I tried running "opcontrol --start" (after previously running "opcontrol --start-daemon") in dom0, I get this error message: /usr/local/bin/opcontrol: line 1639: echo: write error: Operation not permitted and this message in the Xen console: (XEN) xenoprof: operation 9 failed for dom 0 (status : -1) It looks like opcontrol is trying to do this:
2011 Aug 01
6
Query controller using two resources
I have an activation link. I want the user to click on the link, kinda like this... domain.com/users/45/activate/1jf872 The number after "users" would be the user id, and the string after "activate" would be the activation code. In the link above it would be user id 45 and act...
2013 May 23
3
Removing rows w/ smaller value from data frame
Hello, I have a column called max_date in my data frame and I only want to keep the bigger values for the same activity. How can I do that? data frame: activity max_dt A 2013-03-05 B 2013-03-28 A 2013-03-28 C 2013-03-28 B 2013-03-01 Thank you for your help -- View this message in context: http://r.789695.n4.nabble.com/Removing-rows-w...