Displaying 4 results from an estimated 4 matches for "tagticks".
2006 Jul 17
3
Extending Ruby classes in Rails
Hi.
I''ve placed the following in lib/mods.rb:
class String
def String.foo
"bar"
end
def bar
"baz"
end
end
But it does not get picked up:
white:~/svn/tagticks morten$ script/console
Loading development environment.
>> String.foo
NoMethodError: undefined method `foo'' for String:Class
from (irb):1
>> "fdsfs".foo
NoMethodError: undefined method `foo'' for "fdsfs":String
from (irb):2
>&...
2005 Dec 28
11
some notes about rails, apache, fastcgi and windows
hello.
i''d like to share some feelings of mine after a couple of *weeks*
intermittent attempts to have rails applications working on windows
(XP) with fastcgi performances under apache (2.0).
i''d say the software stack i''m using now will be fairly common as more
and more new rails developers will join the bandwagon.
what is stunning me is the fact that, even if
2006 Jul 05
1
Routing error "unitialized constant" after refactoring
...er loads
correctly. I''m wondering why routing complains on DashboardController
rather than User::DashboardController..
This is driving me nuts. Anyone care to guess what could be the cause?
Morten
NameError
uninitialized constant DashboardController
RAILS_ROOT: /Users/morten/svn/tagticks/config/..
Application Trace | Framework Trace | Full Trace
/opt/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:123:in
`const_missing''
/opt/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:131:in
`const_missing'&...
2016 Feb 21
0
ssh access to vmware vm from outside
Hi,
I have a centos 7 host server, which hosts vmware vms with various Os.
I want to reach a ubuntu 14.04 vm through ssh and x2go (ssh as well).
What I did.
1/ open a 2296 port in firewalld.
2/ add 2296=internalvmip:22 in tcp section of
/etc/vmware/vmnet8/nat/nat.conf (vmnet8 being the vms network)
>From the host server I can ssh the vm, but from outside, a ssh -p 2296
user at hostserverip