Displaying 20 results from an estimated 20000 matches similar to: "rake stats LOC"
2005 May 27
3
rake stats
I can''t believe i just found out about this. I''m curious to see what
the stats on other people''s projects look like. Here''s mine (8 hours
dev time):
+----------------------+-------+-------+---------+---------+-----+-------+
| Name | Lines | LOC | Classes | Methods | M/C | LOC/M |
2006 Aug 11
0
Rake stats
Why is it that "rake stats" doesn''t count lines in views?
For example, I just ran
find app/views -name "*rhtml" -exec wc -l {} \;
in a recent Rails app directory, and got a total count that was about
80% as large as the Total LOC result reported by "rake stats". A fair
number of those lines were just as hard to write as anything in my
models or
2006 Jul 02
5
"the number of parameters does not match the number of substitutions" error
All of a sudden, I''m getting this error:
1) Error:
test_index(AccountControllerTest):
RuntimeError: The number of parameters does not match the number of
substitutions.
/home/joe/projects/tanga/trunk/config/../vendor/rails/actionpack/lib/action_controller/assertions.rb:92:in
`assert_redirected_to''
2006 Jan 14
11
accessing models from migrations
Ok, so now Users need to be associated with Organizations. I''ve
created a migration and added a ''organization_id'' column to the users
table. I want the default organization_id to be the first
Organization. So I have :default => Organization.find(:first). But
it''s complaining about not being able to find the constant
''Organization''.
Any
2006 Aug 09
6
How to change the error message easy way
validates_presence_of :fname
results in the error message
"Fname can''t be blank".
What I want is "First Name can''t be blank".
I could do this
def validate
errors.add_to_base("First Name can''t be blank") if fname.blank?
end
I find this clunky and I have to put everyrhing in the validate method. Is
there an easy to get what I want.
I
2006 Jan 29
0
Rake 0.7.0 breaks "rake engine_migrate"?
Hi,
Everything was working fine. Then I upgraded Rake to 0.7.0.
Now, when I do a "rake engine_migrate", I get:
~/Projects/cisv/trunk joevandyk$ rake engine_migrate
(in /Users/joevandyk/Projects/cisv/trunk)
The db/migrate directory for engine ''login_engine'' appears to be missing.
Should be:
2018 Jul 24
0
Library lib.loc Option Ignored for Dependencies
On 07/24/2018 07:50 AM, Martin Maechler wrote:
>>>>>> Benjamin Tyner
>>>>>> on Sat, 21 Jul 2018 13:42:43 -0400 writes:
> > Not sure whether it is the same issue as was raised here:
> > https://stat.ethz.ch/pipermail/r-devel/2010-October/058729.html
>
> > but in any case perhaps the problem could partially be remedied on
2018 Jul 21
0
Library lib.loc Option Ignored for Dependencies
Not sure whether it is the same issue as was raised here:
https://stat.ethz.ch/pipermail/r-devel/2010-October/058729.html
but in any case perhaps the problem could partially be remedied on line
245 of src/library/base/R/library.R by passing the lib.loc to
.getRequiredPackages2() ...here is a patch (untested)
Index: src/library/base/R/library.R
2004 Nov 10
1
Problem with Shorewall/Routing VPN - LOC
Hello!
I configured a pptpserver on my firewall and followed the pptp-manual from
Shorewall.
Login via VPN to firewall (internal ip: 192.168.10.2) is ok and I can ping this
server via internal ip (and use it: add samba-shares, etc.).
Unfortunately I can''t connect to other hosts in my intranet (LOC).
Ping from vpn-client to clients in intranet fails, although Shorewall-Log shows
an
2003 Oct 22
2
help seeing DMZ from LOC
I have a three interface network (net,loc,dmz).
The internet interface (eth0) has a static IP.
Windows machine in the local network (eth1) use DHCP to get IPs from
the 192.168.10.0/24 netblock.
The Debian machine in the DMZ (eth2) gets a fixed IP through DHCP in
the 192.168.11.0/24 netblock.
The DHCP server is running on the firewall machine (not ideal, I know,
but that''s the way
2018 Jul 25
1
Library lib.loc Option Ignored for Dependencies
On 24.07.2018 23:37, Benjamin Tyner wrote:
>
>
> On 07/24/2018 07:50 AM, Martin Maechler wrote:
>>>>>>> Benjamin Tyner
>>>>>>> ???? on Sat, 21 Jul 2018 13:42:43 -0400 writes:
>> ???? > Not sure whether it is the same issue as was raised here:
>> ???? > https://stat.ethz.ch/pipermail/r-devel/2010-October/058729.html
>>
2010 Sep 02
1
Using library and lib.loc
Hi,
I didn't find any post on this subject so I ll ask you some advices.
Let's say that I have two library trees.
Number 1 is the default R library tree on path1
Number 2 is another library tree on a server with all packages on path2.
When I set library(aaMI,lib.loc=paths2) it loads the package even if its not on default R library
When I set library(fOptions,lib.loc=paths2) it
2010 Oct 05
0
library: loading of required packages and argument 'lib.loc'
Hi,
is there a reason why when calling the argument 'lib.loc' of library()
is not used when trying to load the required packages?
0. Package A depends on package B
1. Install packages A and B in a subdirectory 'lib' of the current directory
2. Call:
library(A, lib.loc='./lib')
This will give something like the following:
Loading required package: B
Error: package
2002 May 14
3
[Shorewall-users] Redirect loc::80 to fw::3128 not work (fwd)
I''m beginning to believe that the use of the last column in the rules file
to designate redirection/forwarding is too subtle for many users. For 1.3,
I think I''ll do something like the following:
Current rule:
ACCEPT net loc:192.168.1.3 tcp 80 - all
New rule:
FORWARD net loc:192.168.1.3 tcp 80
Current rule:
ACCEPT net fw::3128 tcp 80 - all
New rule:
REDIRECT net
2002 May 14
4
Redirect loc::80 to fw::3128 not work
The rule:
ACCEPT loc $FW::3128 tcp www
doesn''t work propertly, the http access does not redirect
to squid but directly exit.
what''s wrong?
Thanks
-------
Dario Lesca (d.lesca@ivrea.osra.it)
--------------------------------------
@@@@@@@ this is my shorewall-1.2.13 config:
#[/etc/shorewall/common.def]-----------------------------------------------
2020 Mar 05
2
Samba 4.12.0 on Fedora32: bind DNS still say "named: client @...: update 'fedora.loc/IN' denied"
Hi, I'm doing some tests of samba DC 4.12.0 + MIT (experimental)
Kerberos + Bind DNS + Dhcpd + Chronyd on Fedora 32 beta.
All work fine except this issue:
The dhcp work, and the script for record the name of clients into dns
is disable (like Rowland suggest).
https://lists.samba.org/archive/samba-technical/2020-February/134875.html
If I join a new windows client to domain all work fine and
2010 May 31
0
miss.loc function in MCMC Geneland: can't make it work
I am trying to use the function 'filter.NA=TRUE' in Geneland. The function
appears to be set on TRUE by default, as it appears as TRUE in the
'parameter.txt' file output and hence I do not need to enter the function
per se (as it is an 'Unused argument otherwise') . Hence all my missing
data (individuals that I have not yet scored at that specific loci) are
scored as
2023 Mar 31
1
[PATCH] drm/nouveau/acr: remove unused loc variable
clang with W=1 reports
drivers/gpu/drm/nouveau/nvkm/subdev/acr/lsfw.c:221:7: error: variable
'loc' set but not used [-Werror,-Wunused-but-set-variable]
u32 loc, sig, cnt, *meta;
^
This variable is not used so remove it.
Signed-off-by: Tom Rix <trix at redhat.com>
---
drivers/gpu/drm/nouveau/nvkm/subdev/acr/lsfw.c | 3 +--
1 file changed, 1
2020 Mar 05
1
Samba 4.12.0 on Fedora32: bind DNS still say "named: client @...: update 'fedora.loc/IN' denied"
Il giorno gio, 05/03/2020 alle 15.07 +0000, Rowland penny via samba ha
scritto:
> I think I said use either the dhcp script or allow your clients to
> update their own records. The problem is, if you previously used the
> DHCP script, the clients records no longer belong to the clients, so
> they will not be able to update them. Try deleting the records and
> allow
> the
2011 Aug 18
1
Bug: argument 'lib.loc' not passed on appropriately in 'library()'?
Dear list,
I'm experimenting with setting up custom 'lib' and 'destdir' directories
for my R packages. It seems to me that 'library()' does handle a custom
'lib.loc' argument the way it should for an arbitrary package but NOT
for its dependencies on other packages. The latter are looked for in the
default lib path (~/R/R-2.x.x/library) and NOT in the custom