search for: mp9mi1i6ggfevw1d

Displaying 19 results from an estimated 19 matches for "mp9mi1i6ggfevw1d".

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 Oct 07
6
https problems
I''m having a problem but don''t know what is causing it so I don''t know exactly where to post, please bear with me. I''m trying to set up https access however whenever I go to https://url_for_site the root route renders but the url is rewritten to http://url_for_site. The ssl request shows in the apache logs but obviously no further ssl requests show up.
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 Oct 24
4
Railscast 75, Observe_field and Shopping Cart
Hi all, I have the shopping cart page where a user can add items dynamically through ajax as explained in Railscast episode 75. I am using observe_field to observe the ''quantity'' and ''cost'' fields to update the total field for each item. This does not work however, for records that are added through the Ajax. How can i name the fields and observe them as i have
2009 Apr 06
11
How do I fix this? Power went down.
I was successful in reaching page 184 in the book "Agile Web Development with Rails" 3rd edition and while running the website with PostGreSQL as the backend, the power went down. The PostGreSQL database contents look OK and so do the source code files I was editing. But whenever I click on any "Add To Cart" button in the catalog, I get the following information in the
2008 Nov 24
2
Namespacing conventions
I compared the output from ``rake routes'''' for each solution below, and they both produce the exact same routes. Is one solution preferred over the over? # Solution #1: map.resource :account do |account| account.resources :properties, :controller => ''account/properties'' account.resources :photos, :controller =>
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 Jan 09
2
Ruby & Javascript
Hey guys! Does anyone knows how to a ruby program communicate with the Google API, which one is written in Javascript ? I''ve heard something about a wrapper to do the communication, but i didn''t find anything yet. I know a plugin for rails can do that (geokit), but i don''t know how. There is a method (geocode) that use the javascript function to return the XML data
2008 Nov 25
4
Developing with Ruby 1.8.2
Hi all, I have to develop a Ruby on Rails web application using Ruby 1.8.2. Could you inform me about what are the latest versions of Rails and RubyGems that should work with Ruby 1.8.2. I am also looking for some documentation that covers these versions. What I have found so far is that most of the examples that can be found in internet do not fully work on Ruby 1.8.2 and Rails 1.1.6 since they
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
2008 Nov 07
11
Rails requires RubyGems >= 1.1.1 : problem
Hello, On my local machine (Mac OS X 10.5.5), I get the following error when I try to run script/server start : "Rails requires RubyGems >= 1.1.1 (you have 1.0.1). Please `gem update --system` and try again." The Rails app was a former 1.2.6 upgraded to 2.1, and it worked fine. I''ve run the rake rails:update command. If I create a new Rails app, it starts with the command
2009 Dec 06
9
Route error to Admin namespace
Hi. I have some apps that i have "admin" areas to the clients manager the app. This "admin" is a directory on my controllers path, like this: my_site --> app -->-->controllers -->-->-->admin And my controllers in "admin", i use the correct namespace(example for clients_controller): class Admin::ClientsController < AdminController Only doing
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
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