search for: bragi

Displaying 20 results from an estimated 23 matches for "bragi".

Did you mean: braga
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 Jun 12
1
filter/exclude confusion ???
...s have short names, I hope that I can either specify them inline rsyncd.conf on [B]; or, inline to the CLI on [A]. I am confused with man rsyncd.conf, where the manpage states: "it only applies on the daemon" I have tried specifying this several ways, in the CLI on [A]: -f - /bragi/ \ -f - /brono/ \ -f - /jord/ \ -f - /loki/ \ -f - /odin/ \ _both_ before and _after_ specifying source and destination. I know that the rest of the syntax I am using is correct, because _without_ those filters, it brings everything across ;< What am I missing? -- Best Rega...
2005 Oct 18
1
Rcss - first public release
...es as a Ruby Gem and should be available shortly using normal ''gem install rcss'' command. Feel free to visit project site at http://rubyforge.org/projects/rcss and read documentation on http://rcss.rubyforge.org. Comments (especially on server-side classes idea) are welcome. -- Bragi Ragnarson
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"
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
2005 Dec 18
8
Log viewer for colorized logs
Is there a decent log viewer for colorized log files? less -r for me doesn''t work well, as it sometimes clears the screen. I''d like: * Either a console type less viewer which just removes the colors * Or, even better, a console one which handles the colors without clearing the screen * Or, best of all, a GUI viewer - maybe even with color I use both Windows and Linux.
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 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 06
2
Rails logger: how to access it in a my own class
Hey Guys, The only way I could find to access the Rails logger object was to subclass from ApplicationController... can anyone suggest a more sensible way of doing it? Soroe. -- Posted via http://www.ruby-forum.com/.
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 Aug 04
5
Creating new record from a form? (stringify_keys! error)
Appologies if this has been covered, But it seems the search is busted. I have a simple model object "Biostat" which I am trying to add a new record to. this is the form: <%= form_remote_tag( :update=>''statsTable'', :url=>{:action=>''new''}, :html=> {:action=>''new'',
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
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 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 Aug 06
10
editor recommendation
Hello lsit, I''am new to rails (about 2 hours) and after the first lines of code I must say: Great! I love it! Can someone recommend me a editor? I run Ubuntu Dapper. Th?ngs -- Jochen Kaechelin, fvgi242ss, wlanhacking.de http://mail.wlanhacking.de/cgi-bin/mailman/listinfo http://www.gissmoh.de - Mein sonstiges Leben!!
2006 Jun 15
6
Sqlite3 test fails in Rails app
Greetings: I am using Sqlite3 database with my Rails app. When I try and run "rake tests" for the app it always fails with the error: ** Invoke default (first_time) ** Invoke test (first_time) ** Execute test ** Invoke test:units (first_time) ** Invoke db:test:prepare (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:test:prepare ** Invoke
2006 Jun 24
7
Newbie Q: "user" variable in every view?
Newbie to RoR -- as a long time Java Struts/etc. guy it is an awesome tool! I have implemented some basic login/session stuff with the help of a great tutorial, props to the author ( http://www.aidanf.net/rails_user_authentication_tutorial). I have a trivial instance method in ApplicationController, which just grabs the User object from the session. def current_user session[:user] end
2006 Aug 30
10
respond_to not detecting JS turned on. form_to_remote problem?
I''m trying to use respond_to to redirect visitors who have JS turned off to a different page. The problem I''m having is that respond_to is sending *everybody* there. It''s not recognizing that JS is turned on in the browser. The wanted_html.rhtml file below is rendered whether I''ve got JS turned on or off. I''ve looked at the Accept headers being sent
2006 Aug 05
22
MySQL vs SQLite
I have an application where speed is probably the #1 priority here. I am using MySQL 5.0.22. Would SQL be considerably faster than MySQL? I know this has been discussed before, but the search on the forums is not working. Thanks for your help. -- Posted via http://www.ruby-forum.com/.