search for: heimdul

Displaying 16 results from an estimated 16 matches for "heimdul".

Did you mean: heimdal
2009 Aug 27
8
Adding New Column
I added a new column using a migration. Once I updated the new.html.erb, edit.html.erb, show.html.erb, and the index.html.erb I brought up my web pages. There was a field to update show. I tried the update and the it was successful but the update did not show up in any of the other pages. What did I miss? I am using 2.3.3 of ror.
2008 May 29
7
when is a boolean not a boolean?
Weird problem.. I''m new to rails and ruby... maybe someone can explain what I am not getting.. Env: Mac OS X 10.5.3, Rails. 2.0.2, ruby 1.8.6 (2007-09-24 patchlevel 111) A User class created using the restful_authentication plugin A Company class (has lots of fields not really important to the problem below) Users can have many companies, entered into the User.rb model as one would
2008 May 16
3
has_one and find_by_id issue
I have two models: testamonial photo (has_attachement) testamonial has_one photo The issue is when do this: @testamonial = Testamonial.find_all_by_id(id) I get "undefined method `photo'' for" in my browser?? BUT here is the big kicker.... If I do @testamonial = Testamonial.find(:first) everything works fine and the image is show!.. (find :all works too when I loop
2009 Aug 13
6
Strange Routing
Hi Guys, I have some strangeness with routing, using standard route map.connect '':controller/:action/:id'' map.connect '':controller/:action/:id.:format'' Using console I did >> rts = ActionController::Routing::Routes >> rts.generate(:action => "edit", :controller => ''vendorlocations'', :id => 10) =>
2008 Sep 03
23
error connecting to mysql
i was trying to setup an application checked out from svnin my local machine. i managed to do all that is required except when it came to the step of creating databases for the application, when i tried to connect to mysql i got this error ERROR 2002 (HY000): Can''t connect to local MySQL server through socket ''/var/lib/mysql/mysql.sock'' (2) i have spent more than 5
2009 Oct 01
3
mongrel + mysql can't connect in custom mysql install
Hi all... The linux box I am working on I do not have root access to, and given I am at a government site all hope of that is lost. I have installed the mysql gem as follows: env ARCHFLAGS="-arch x86_64" gem install mysql -- --with-mysql-config=/home/t192zcs/mysql/mysql-5.1.39-linux-x86_64-icc-glibc23/bin/mysql_config
2009 Jun 13
2
Help on Regular EXpression
hi i need to validate user input for my designation field . that field should accept(alphapets,numbers,-,&) example => System support - Trainee could u people help me with the reqular expression. Thanks for any helps -- Posted via http://www.ruby-forum.com/.
2009 Sep 10
2
cannot start mongrel after Snow Leopard upgrade : Wrong Architecture !!!
(MacBook Core 2 Duo.. but 32-bits kernel... upgraded to SL) Rails 2.3.4 / Ruby 1.8.7 fine with Webrick Booting WEBrick => Rails 2.3.4 application starting on http://0.0.0.0:3000 but trying to start Mongrel ( btw should be the default in dev mode when installed ?) mongrel_rails start -d /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/ http11.bundle:
2009 Sep 15
6
User login and authentication
Being a rails newbie, I started to design our first rails-based webapp. This app should not only be used via browsers, but we also want to provide a (RESTful) api. I love the ''convention over configuration'' paradigm, but am totally clueless on what to do when it comes to user authentication. Is there a THE rails-way of doing this? I found many excellent gems and plugins, such as
2009 Aug 19
11
Rails demo not showing up.
Hi, Can''t get the rails demo to run. I''ve started the webrick server. Here is what the output looks like: ----- [root@chat demo]# ruby script/server => Booting WEBrick => Rails 2.3.3 application starting on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server [2009-08-18 21:29:41] INFO WEBrick 1.3.1 [2009-08-18 21:29:41] INFO ruby 1.8.5
2008 Jun 12
7
Problem uploading files (possibly an OS X issue?)
I have a running Rails application that uploads files back to the server occasionally. I recently switched my development machine from a Linux box to OS X 10.5, using the Apache server built-in on OS X and mod_fcgid. I thought everything was fine until I recently tried to use the file upload feature. If I specify a reasonable sized (164 Kb) file for upload then I get an immediate error, before my
2009 Sep 03
9
Rails 2.3.3 has a very serious performance problem
On my Ubuntu 8.04 64 bit desktop, I created an empty Rails project and from another machine, I used ab -n 10 http://210.77.27.169:3000/ to test the performance: =========================================== When I put rails 2.3.3 under vendor/rails: Server Software: WEBrick/1.3.1 Server Hostname: 210.77.27.169 Server Port: 3000 Document Path: / Document Length:
2009 Sep 30
17
Apache2.2 + what to get Rails
Me: not experienced with Rails or Ruby, Problem: Ubuntu 9.04 server in my shop ...couldn''t get Apache2.2 + Passenger + Rails to work for Redmine. (No answer at Redmine list and I don''t think its their problem anyway). Also couldn''t get Apache2.2 and just Rails to work, though some people said it would. Webrick works. Goal: run Redmine on a server that also runs PHP
2009 Aug 12
21
I am very overwhelmed going to production and need help
The title says it all - please bear with me. To let you know where I stand, I have been working for up to 12 hours a day for 2 months and 2 weeks trying to get my site ready for release. In development (on windows) it works perfectly. In production (on linux ubuntu) it does not. I stopped using capistrano because there are problems with the repo on github and things aren''t working
2008 Mar 08
32
Mac OS X or Windows?
Hey, I know it''s a basic question and I do not want a discussion about which one is the best in general, I only want to know which OS you''d recomment for programing in Rails and to do webdesign. Maybe you can also tel me why you think so? Regards, zok --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups
2008 Jun 21
0
RedBox and Rails 2.1 ???
Anyone else tried this? Looks like there are some issues using the redbox plugin with rails 2.1 but maybe I''m just doing something wrong... Thought I would post a question here to see if I''m the only one... (Was going to us it for forms with lightbox effects.... ) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the