Displaying 20 results from an estimated 10000 matches similar to: "Log viewer for colorized logs"
2005 Nov 28
4
validates_format_of nil
I''ve noticed that validates_format_of will return invalid if the field
is nil.
Question 1) How should we declare a validation that will validate it
with a regex if it is set, but, if the field is not set, just move on
Question 2) Why is it done this way? The other validators are only
invoked if the field is set . If you want to declare the field
mandatory, you add a
2005 Dec 09
7
UserEngine - rake bootstrap aborted
Hi there,
I''ve just installed login_engine and user_engine from the repositories,
followed the setup procedures as documented in:
vendor/plugins/user_engine/README
But I''m getting the following failure:
vince@vaio:~/Projects/Booking$ rake bootstrap
(in /home/vince/Projects/Booking)
rake aborted!
undefined method `edit'' for class `UserController''
2006 Jan 06
5
Routing problems - Apache proxy vs. Webrick direct
I dropped the use of fastcgi because I could not get popen working (see
''[Rails] Apache2 and popen''). It works under WebBrick. Since CGI is too
slow, I thought I''d proxy to WebBrick via Apache.
I am having routing problems now with escaped slashes in the URL.
Here''s my routes.rb:
map.connect '''', :controller => "wiki"
2005 Oct 18
1
Rcss - first public release
Hi All!
My first contribution to Ruby/Rails community is ready. Here is short
snippet from README as an overview:
Rcss implements CSS-SSC (Server-side Constants) in Ruby.
Main features:
* Create rich CSS files using:
- ERB templates
- Server-side constants
- Server-side classes (preliminary)
* Simply add Rcss files to any Rails application
* Process Rcss files off-line using command
2006 Feb 02
19
No more logs after SVN?
Hello,
Yesterday I "subversioned" my app using svn and now everything works fine except I don''t see any log entries in development.log?
What would cause the log entries to be not produced anymore?
Thanks
Frank
---------------------------------
Bring words and photos together (easily) with
PhotoMail - it''s free and works with Yahoo! Mail.
2006 Mar 31
6
string interpolation - #{} vs. single vs. double quotes
Could someone point me to documentation that provides a succinct and accurate description of the difference between interpolation using #{}, single quotes, and double quotes ?
I imagine there''s a set of precedence rules that govern behavior if/when they''re mixed. I''d like to get clear on this.
Thanks,
Bill
-------------- next part --------------
An HTML attachment was
2006 Feb 22
5
svn externals and Edge Rails
Hi all:
I am considering using edge rails so I can use join tables. I want to
use svn:externals to manage edge rails, however I want to understand
it more before I go and set everything up. so everytime I commit my
app it will pull the most recent version of rails from the svn
repository, right? What if the current version of rails is unstable,
is there a way to rollback edgerails and NOT my app?
2006 Mar 23
6
[mongrel] [fedora5] install error " can''t find ruby libs"
Installed Fedora5.
Installed Ruby 1.8.4.
Installed rubygems.
Installed rails.
Created test app to verify that ruby and rails were working.
When I attempted to install mongrel via:
sudo gem install mongrel
I get this error:
Install required dependency daemons? [Yn] y
Install required dependency gem_plugin? [Yn] y
Building native extensions. This could take a while...
can''t find
2006 Jun 27
2
testing - how to get access to an instance variable
inside controller
def foo
@city = City.find(@params[:id])
@city.bar = 1234
end
While writing functional tests how do I ensure that the @city.bar is 1234?
def test_edit
get :edit, :id => 1
assert_not_nil assigns(:city)
#?? how to assert that city.bar is 1234
end
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Jan 30
2
Modules, controllers and inheritance
Hi!
I was trying to cleanup my app and I runned into quite a problem. My
controllers in submodule do not seem to inherit things from base
class.
I have following setup:
app/controllers/
application.rb:
class ApplicationController
admin/
admin_controller.rb:
class Admin::AdminController < ApplicationController
include LoginEngine
include UserEngine
2006 Aug 13
10
does rails enforce referential integrity???
Hi,
Is rails supposed to support referential integrity? That is rails
either support to be able to ensure that when a new contact is created
this can only happen if a valid suberb is associated with it, and which
mechanisms of the below are supposed to do this?
(a) using DB foreign key constraints information as a basis?
(b) using the "has_one" line in the model file to enfore?
If
2006 Mar 03
17
RCSS problems
Hi List!
Following http://rcss.rubyforge.org/files/README.html, I''m trying to get
RCSS to work with Rails. The rcss command itself works fine, but when
trying to access http://localhost:3000/rcss/test.css I always get
"Unknown action - No action responded to test.css", which I don''t
understand since the route and controller are in place.
Anyway, hopefully this is
2006 Jan 20
6
Sharing a Model
I have two rails applications that modify/view the same data. Is there
a DRY way of sharing a model (not just database) between two separate
applications?
--
Mike
2018 Jan 06
3
Export authentication & authorisation logs to Windows Event Viewer
Hi,
Can we export the samba audit logs (Authentication & Authorisation Logs)
to Windows Event Viewer?
I am trying to export the authentication & authorisation logs to a
Windows Server to be shown in Windows Event Viewer. I read the link -
https://wiki.samba.org/index.php/Event_Logging. But couldn't follow much.
Can someone throw more light on the procedure, if it is possible?
--
2006 Jan 15
6
PROPOSAL: Validations as Mixin
It seems to me that Validations are quite useful for many objects, even
ones having nothing to do with ActiveRecord.
Common examples are Contact Us forms, multi-step forms, web service
paramater validations, etc.
I took a look at the source for Validations, and it seems that it is
very independent from ActiveRecord. I caught only three depenedencies:
1. validates_numericy --> depends on
2005 Aug 26
3
impress viewer for openoffice
Hi,
I am attempting to find an openoffice powerpower point viewer.
I found imposter but when I run my file it says "Cannot find zip signature".
I though I would zip it up an try it again but that did not work either.
Also I dont think there is a way from the command line to go fullscreen?
not sure.
Anyone know of a good power point viewer for centos?
or a way to make impress
2018 Dec 28
2
LLVM Coverage Viewer
Hi All,
I created a CLI tool that converts llvm coverage report JSON to a single
HTML file that can be viewed locally. The tool is distributed from npm here
https://www.npmjs.com/package/llvm-coverage-viewer . The code is hosted on
github here https://github.com/hooddanielc/llvm-coverage-viewer. For any
questions or concerns, please let me know or make an issue on github page.
Hope this helps,
2012 Dec 31
1
virt-viewer via ssh to a remote host
Hi,
I have a virtualization host running KVM and libvirt 0.9.12 (on Debian
unstable). I would like to connect with virt-viewer 0.5.4 from a
different host to a domain that has Display Spice configured as
graphics interface.
I can connect to the KVM host using
virsh --connect=qemu+ssh://mh at fan.local/system
and start m KVM domain from there, so I guess that authentication is
just fine.
2005 Dec 11
62
PROPOSAL: The list needs to fork (desperately).
I''d like to propsoe that the RubyOnRails mailing list forks into three
lists.
PROBLEM:
* The list is getting swamped with traffic, making it hard to use and
even harder to follow.
* Many, many messages get lost, with no reply.
* Due to the overwhelming traffic, it''s hard for beginners to get the
help that they need, since their messages get lost in the shuffle, and
2010 Jun 17
4
Weird problem with UltraVNC Viewer
Hi everybody,
i've been using ultravnc viewer from long time without any problem.
Starting from wine-1.2-rc2 when i'm connected to a vnc server i cannot close anymore the viewer window and when I try to close the window it sends an ALT+F4 to the application running in the vnc server !!
With wine until version 1.2-rc1 the viewer windows close as expected.
In console there are no messages