search for: kende

Displaying 20 results from an estimated 132 matches for "kende".

Did you mean: kend
2006 Nov 24
6
Rails 1.2 RC1 problem
Hi Have this helper method inside a sites_helper.rb module def distritos [ ['0', 'Todos'], ['1', 'Aveiro'], ['2', 'Beja'], ['3', 'Braga'], ['4', 'Brangança'], ['5', 'Castelo Branco'], ['6', 'Coimbra'], ['7',
2002 Feb 23
2
XFS ACLs vanish. (2.2.2a and 2.2.3a)
Hiya. I've got an XFS partition, have compiled and installed all the XFS stuff, then compiled (with --with-acl-support) samba, which then returns: checking whether to support ACLs... checking for acl_get_file in -lacl... yes checking for ACL support... yes Using posix ACLs So it would seem to me that ACLs would be supported. So then I install and run it, add the box to the (Samba 2.2.2)
2007 Jun 21
2
Error when trying to run expense program
Guys, I m trying to get up to speed on Rails via the Apple tutorial at:http://developer.apple.com/tools/rubyonrails.html Problem is when I try and access localhost:3000/expenses I get the following error. It may be a breeze for you to figure out but since I dont know jack about rails it seems cryptic to me. Application.rb seems to be very similar to the database.yml file. I''m running
2003 Oct 21
1
Why does fstab fail when command line mount works?
Okay; I'm stumped. My old boss just asked me a question, and I thought I had an easy answer, but nooooooooo. I also apologize if this has been hashed out, but I'm unable to find the answers after several pages of Google hits. Anyway, if I try to do this: mount -t smbfs -o username=kend,password=blah,workgroup=xanoptix //freedom/kend /mnt/smb/ from the command line, it works fine.
2006 May 06
6
assert_raises --> how does it work?
Hi, I have this code fragment: def test_delete_concept assert_not_nil Concept.find(concepts(:entreprise).id) get :delete_concept, {:concept_id => concepts(:entreprise).id} assert_raises :RecordNotFound, Concept.find(concepts(:entreprise).id) end basicaly, on the first line, I make sure that the concept exist in the DB. On the second line I delete the concept fron the DB.
2010 Jun 17
1
syntax error, unexpected kEND, expecting $end
I get this error /Users/sopira/rubydev/hello/app/models/spracovatel.rb:5: syntax error, unexpected kEND, expecting $end on the 5th line of the code, which has got just (and only) 5 line: CODE: Class Spracovatel def spracovat return 5 end end What can cause this error? After digging all the internet I have not found any idea. Maybe here. Thanks, Michael. -- You received this message
2007 Apr 17
2
Rake aborted - syntax error, unexpected $end, expecting kEND
I can''t create tables via rake db:migrate without encountering this error: rake aborted! ./db/migrate//001_create_users_table.rb:11: syntax error, unexpected $end, expecting kEND The 001_create_users_table.rb file contains: class CreateUsersTable < ActiveRecord::Migration def self.up create_table "users" do |table| end def self.down end end I''ve
2006 Apr 16
6
sorting
I need to sort users by their rank how do I do this? -- Posted via http://www.ruby-forum.com/.
2007 Feb 12
1
Invalid char problem
Has the problem with corrupted .rhtmls (invalid characters) been solved so far? I would like to use ferret and acts_as_ferret on Windows XP. I have installed 0.10.9 (mswin32) which still seems to have the problem. I am receiving error messages like: compile error C:/INSTAN~1.4P1/INSTAN~1/rails_apps/travelogue/config/../app/views/article_editor/_header_read.rhtml:2: parse error, unexpected
2008 Nov 22
4
"syntax error, unexpected tIDENTIFIER , expecting kEND" in RJS response
I get a "syntax error, unexpected tIDENTIFIER, expecting kEND" when the following RJS template is rendered: page.insert_html :bottom, :requisite_table, :partial => "insert_jobrequisite_select", :locals => {:job => @job, :counter => @counter} page.alert("hi") The same RJS template is rendered without errors as soon as the rjs file has only one single
2006 Apr 30
6
Help, Gruff is killing me
Hi all, I hope somebody can help me out here, since the issue has been killing me for the last three days. Here is the issue: It seems that gruff kills rails/webrick whenever it''s used on win32. I installed gruff per instructions and it seems to be working. The sample controller generates a nice grpah with send_data and all. The issue started once I try to use any other
2007 May 28
2
helper with block compile error
HI, i''m trying to write a helper that replaces link_to_remote that accepts a block but it gets a compile error in the template: I don''t know what I''m doing wrong... TIA # application_helper.rb def link_block_to_remote( options = {}, html_options = {}, &block) concat(link_to_remote(capture(&block), options, html_options), block.binding) end # in
2006 Apr 08
5
Strange error ...
I''m getting a very strange error in a very vanilla Rails app setup: compile error ./script/../config/../app/views/home/index.rhtml:1: parse error, unexpected $, expecting kEND _erbout = ''''; _erbout.concat " <div id=\"index_main\">\n" ... ? Anyone know what this might be? I installed the Login Engine and the error started. I''m using
2006 Aug 18
1
Migration crashes when using braces to delimit blocks
Hi, I have been using a bit of ruby here and there for scripting jobs for a year or so, and more recently have started dabbling in rails. I was wondering if anyone can help me with a strange behaviour I am getting when trying to run a migration. If I delimit a block for the create_table method with braces, the migration crashes, whereas the exact same code with the braces replaced by
2004 Dec 02
2
Printer permissions from W2K
Hey all... I am trying to connect to a Epson FX-85 24-pin printer on my file/print/samba server. I am running SuSE 9.1/Samba 3.0.2a with CUPS as the print spool. When I try to connect to the printer from W2K land, I get this error: "Permission denied" I am at a loss as to where to look (sorry I dont have my smb.conf file posted. I am away from home for a couple of days). ALl else
2005 Jan 08
1
Simple Samba Guest printer setup problem
OK, I have a very simple setup problem. I have a server and three printers which I want to share. These printers should need no password. This does not work However when I login and map a network drive I can print just fin How do I bypass the need for a password or network login on these printers. Thanks I am running Fedora 3 core and samba Thanks Chip Here is the printers section of my
2006 Mar 17
6
Problem with ruby 1.8.4 One-Click Ruby Installer on windows
Hi! Previously i had ruby 1.8.2 (One-Click Ruby Installer) installed, but the rdoc and plugindoc didn''t work, so i decided to install ruby 1.8.4. I had uninstalled ruby 1.8.2 (uninstaller deleted the whole ruby folder with radrails and everything, just great) and installed One-Click Ruby Installer 1.8.4-16 preview3. Then installed rails, rmagick, radrails, created docs for trunk
2009 Oct 23
2
Deployment syntax error: fine in dev - what's happening?
I''m deploying an app (using Capistrano) to a staging server prior to final deployment. The app runs fine in dev, but in staging it throws a syntax error. How can that be? The error is: /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'': /Library/WebServer/staging.givetothem.co.uk/releases/20091023133654/app/controllers/bulkimport_controller.rb:32:
2011 Nov 18
2
Are tildes actually valid in templates or is this a bug?
Hi all, First off, we''re running Puppet 2.7.6 with Ruby 1.8.7 on CentOS 6.0. Now, I''m using tildes in a template to prevent newlines from appearing but ruby/puppet is choking on them. */tmp/puppet$ cat test.erb* Line 1: Line 2 will exist if running on CentOS. <% if operatingsystem == "CentOS" ~%> Line 2: Yay, we''re running CentOS. <% end ~%>
2006 Feb 11
9
Upgrading to Ruby 1.8.4 and strange problems!
Hi folks, There is a strange problem here, I''ve installed the latest version of One-Click Ruby installer [1.8.4-16 preview3], everything went fine, and after that I''ve installed Rails 1.0. No problem in setup process, but now, when I try run my rails application, there are many strange things happening. In one my application no CSS apply, looks like there is no CSS file, and