search for: newspiritcompany

Displaying 20 results from an estimated 20 matches for "newspiritcompany".

2006 May 03
6
ActiveRecord and Lost Connection
...varchar(255), source varchar(255), keywords varchar(255), created_on DATETIME DEFAULT ''0000-00-00 00:00:00'', PRIMARY KEY (id) ); -------- New Report being run Wednesday 05/03/2006 03:52 AM -- Berlin Brown (ramaza3 on freenode) http://www.newspiritcompany.com http://www.newspiritcompany.com/newforums also checkout alpha version of botverse: http://www.newspiritcompany.com:8086/universe_home
2006 May 29
1
Init lifecycle and rails
...ller context. I am looking for something where I can load and setup a particular object. Also, what about with sessions as well. I would like to call some library when a user session begins and possibly kill that object when the session ends. -- Berlin Brown (ramaza3 on freenode) http://www.newspiritcompany.com http://www.newspiritcompany.com/newforums also checkout alpha version of botverse: http://www.newspiritcompany.com:8086/universe_home
2006 Apr 27
0
Another simple rails application - really only a hour or two
This is another simple rails application. I am just putting them out there; doesn''t really add to any of the other depot applications out there, just another. From type ''rails XXXX'' it probably was a hour or so to setup and design the layout and what-not. http://www.newspiritcompany.com:8086/helper_numbers_idea/ http://www.newspiritcompany.com/ruby_rails_descr.html Anyway. -- Berlin Brown (ramaza3 on freenode) http://www.newspiritcompany.com http://www.newspiritcompany.com/newforums also checkout alpha version of botverse: http://www.newspiritcompany.com:8086/universe_hom...
2006 May 03
7
Business Logic and where to place with rails
...rocess" class SystemMessageController < ApplicationController include SystemProcess ... ... Where there is a file called ''system_process.rb'' in my ''lib'' directory. Is this good, bad for rails design? -- Berlin Brown (ramaza3 on freenode) http://www.newspiritcompany.com http://www.newspiritcompany.com/newforums also checkout alpha version of botverse: http://www.newspiritcompany.com:8086/universe_home
2006 Mar 30
4
Simple Ruby/Rails question, doing posted hours ago
...I have created_on ...timestamp. What is a ruby way of getting the hours/minutes/seconds ago. is there some class that has this implemented. For example: Posted on 3/28/2006 Show a time with: posted: 1 day ago ... something along those lines. -- Berlin Brown (ramaza3 on freenode) http://www.newspiritcompany.com also checkout alpha version of botverse: http://www.newspiritcompany.com:8086/universe_home
2006 Jun 01
1
Upgrading old rails application for new rails version
...My question. I have already updated the ruby gems library and things seem to work. Do I really need to update the actual code. Can I update the code? For example, I noticed that prototype is a lot newer version. I would like to update that. -- Berlin Brown (ramaza3 on freenode) http://www.newspiritcompany.com http://www.newspiritcompany.com/newforums also checkout alpha version of botverse: http://www.newspiritcompany.com:8086/universe_home
2006 May 04
1
Ways to share code among the ''layout''
Is there a way to use the same code accross multiple layouts. Normally, I am associating a layout with a particular controller? Is there a cleaner way. -- Berlin Brown (ramaza3 on freenode) http://www.newspiritcompany.com http://www.newspiritcompany.com/newforums also checkout alpha version of botverse: http://www.newspiritcompany.com:8086/universe_home
2006 May 29
0
Custom command line libraries for controllers and rails
..._FILE__) + ''/../../lib/bot'' And then I just allocate an instance in one my controller methods and that is it. Of course, there is one instance per request which is a little wasteful. But, that is my initial approach thus far. -- Berlin Brown (ramaza3 on freenode) http://www.newspiritcompany.com http://www.newspiritcompany.com/newforums also checkout alpha version of botverse: http://www.newspiritcompany.com:8086/universe_home
2006 Apr 18
0
activerecord(mysql) and hash to unique count
...to update the record found = NumbersWord.find(:first, :conditions => [ "word = ?", w ], :limit => 1) if found found.occurrence = found.occurrence + 1 found.save end # End of Exception end -- Berlin Brown (ramaza3 on freenode) http://www.newspiritcompany.com http://www.newspiritcompany.com/newforums also checkout alpha version of botverse: http://www.newspiritcompany.com:8086/universe_home
2006 Apr 30
2
Give me NIL or null results
...umbersFeedLink.find(:all, :order => [ "created_on desc" ], :limit => @max_links_send, :conditions => [ "numbers_sent_feed_link == nil" ] ) -- Berlin Brown (ramaza3 on freenode) http://www.newspiritcompany.com http://www.newspiritcompany.com/newforums also checkout alpha version of botverse: http://www.newspiritcompany.com:8086/universe_home
2006 Mar 30
0
Shameless Plug, early rails application
...as opposed to wrapping something in 10 layers of XML. The naming convention is easy to get used to, also makes a lot of sense so there is no reason to fight it. I am finding some interesting plugins, I just have to find time to integrate them, I liked the login generator. Anyway: http://www.newspiritcompany.com:8086/universe_home -- Berlin Brown (ramaza3 on freenode) http://www.newspiritcompany.com also checkout alpha version of botverse: http://www.newspiritcompany.com:8086/universe_home
2006 Mar 27
4
How to create a daemon in a rails app
i want a daemon will check somthing every 10 minute how do this in rails? -- Posted via http://www.ruby-forum.com/.
2006 Mar 27
2
dispatch.fcgi hanging after lighttpd shutdown
Hi. I''m using RoR 1.0 with FastCGI and lighttpd on a Debian 3.1 box. I have configured lighttpd to do adaptive spawning of the FastCGI processes. However, after shutting down lighttpd the FastCGI processes remain running. Did this problem occur to anyone of you? Is there a fix? I''d be really grateful for every answer. Regards, Manuel Holtgrewe
2006 Mar 30
1
Rails mangle my ''class''?
...put of my document. I had a div that had a style: <div style="color: #FFF; background-color: #537677l; "> fsfs </div> This was the final output? <div style="color: rgb(255, 255, 255);"> fsfs </div> -- Berlin Brown (ramaza3 on freenode) http://www.newspiritcompany.com also checkout alpha version of botverse: http://www.newspiritcompany.com:8086/universe_home
2006 Apr 08
2
Samba and Logging Off Windows XP
...invalid password. I enter the exact same password for the reconnect but it wont stay. It is not a problem just strange that I have to enter my password everytime even though I set it through the mapped drive settings. Anyone seen this before? -- Berlin Brown (ramaza3 on freenode) http://www.newspiritcompany.com also checkout alpha version of botverse: http://www.newspiritcompany.com:8086/universe_home
2006 Apr 17
1
Error with installing rails/gems on ubuntu-dapper
...'' from /usr/local/lib/site_ruby/1.8/rubygems/cmd_manager.rb:67:in `run'' from /usr/local/lib/site_ruby/1.8/rubygems/gem_runner.rb:13:in `run'' from /usr/bin/gem:17 bbrown@england:~/rubygems-0.8.11$ -- Berlin Brown (ramaza3 on freenode) http://www.newspiritcompany.com also checkout alpha version of botverse: http://www.newspiritcompany.com:8086/universe_home
2006 Mar 27
5
RedCloth and Rails
Has anyone had any experience with RedCloth for rails. It is a textile system. I haven''t spot checked the code and was wondering if it caused any lockups or other issues. http://whytheluckystiff.net/ruby/redcloth/ -- Berlin Brown (ramaza3 on freenode) http://www.newspiritcompany.com also checkout alpha version of botverse: http://www.newspiritcompany.com:8086/universe_home
2006 Apr 22
3
How to use Rails and REST
Hi, I just wrote an article on how to easily create a REST API for Ruby on Rails applications: http://www.xml.com/pub/a/2006/04/19/rest-on-rails.html It describes how to create everything from the ground up and includes information on testing your API too. -- Thanks, Dan Kubb
2006 Mar 25
3
Rails and Lighttpd, hangs?
I know this is kind of a generic question. But, when hitting my lighttpd/rails site on some of the first hits, the site hangs. I think it has something with the lighttpd configuration, possibly something I am missing with rails or ruby? Any ideas or how to track this down. fastcgi.server = ( ".fcgi" => ( "0.0.0.0" => ( "socket" =>
2006 Mar 30
11
Rails 1.1 and Ruby 1.8.3
I''ve seen that Rails 1.1 is not reliable with Ruby 1.8.2 so you should upgrade to 1.8.4 I''m running ruby 1.8.3. What''s the story with it? Do I need to upgrade before I try Rails 1.1? Thanks Greg -- Greg Freemyer The Norcross Group Forensics for the 21st Century