similar to: newbie question for installation

Displaying 20 results from an estimated 7000 matches similar to: "newbie question for installation"

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',
2010 Dec 24
2
buildr Windows 7 64 bit problems
Preface: I''m not overly familiar with the inner workings of RoR, so I apologize for my relatively superficial knowledge upfront I have a new 64 bit Windows 7 machine. My dev environment on my old machine which functions fine (sans a functioning monitor -- thus the new machine), I have the following installed and functioning well: Ruby 1.8.6 using the Windows MSI installer Buildr 1.3.3
2010 Mar 12
7
"We're sorry, but something went wrong." from RoR app
Hi All, "We''re sorry, but something went wrong." is the message I got when I started up an RoR app in the environment: Rails 2.3.5 Ruby 1.8.6 WinXP-Pro/SP3 Firefox 3.6 MySQL 5.0.37-community-nt Mongrel The app under development was working fine until I (stupidly) thought I needed to upgrade MySQL to 5.1.44. I took the precaution of MySQL-dumping the development db before
2009 Jun 23
2
syntax error, unexpected tINTEGER, expecting $end
Please help me solve the following error message: syntax error, unexpected tINTEGER, expecting $end I have this model: Code: 1. class GeoDatum < ActiveRecord::Base 2. end The database contains the table geo_data, which contains the zip_code column, filled with zip codes. I get the above error when searching for a zip code and the zip code exists in the table. Here is the
2011 Apr 27
1
'bignum too big to convert into long' while migration in rails
While i run rake db:migrate i got below error ,let me know any one . Please it is urgent to me. D:\raj\tweasier>rake db:migrate --trace (in D:/raj/tweasier) DEPRECATION WARNING: Rake tasks in vendor/plugins/open_flash_chart_2/tasks, vend or/plugins/resque/tasks, and vendor/plugins/resque/tasks are deprecated. Use lib /tasks instead. (called from
2010 Jun 15
3
Newbie trying to set up rails with MySQL
Hello -- Please pardon my newness -- I''m just getting started with rails, and I''m having some difficulty getting it set up with MySQL. I am able to get the basic ruby server running (script\server). When I created a new page (using script/generate controller about index), I am not able to navigate to the new page, and Ruby either crashes or gives me an error: /!\ FAILSAFE /!\
2010 Jul 16
31
Added associations but don't see generated methods
Hi, I''ve got a Rails app working that includes two two classes, etc.: Expense & Vendor. I eventually learned that the mental concept I had of their relationship should be express in Rails as: class Expense < ActiveRecord::Base; belongs_to :vendor; end class Vendor < ActiveRecord::Base; has_many :expenses; end
2010 Aug 03
2
PDFKit Fork() Function Unimplemented Error - HELP!
Hello All, We''re working on a project on a Windows machine that will use PDFKit to convert an HTML page to a PDF. I have followed all the instructions at GitHub (http://github.com/jdpace/PDFKit), for installing wkhtmltopdf and PDFKit, then creating the config file in ''config/initializers/pdfkit.rb'' and then finally, setting up Middleware for Rails apps in
2006 May 05
1
Help with ActiveRecord
Model: class AdminQueue < ActiveRecord::Base set_table_name ''adminqueue'' end Interacting with it in script/console >> AdminQueue.new => #<AdminQueue:0x240a910 @attributes={"topic_id"=>nil, "resolved"=>nil, "updated_on"=>nil, "action"=>nil, "type"=>nil, "post_id"=>nil,
2006 Jul 08
1
Need Help Understanding Situation with Table Columns
I am trying to create an application loosely based on the Depot application presented in Agile Web Development with Rails (AWDwR). I am using InstantRails for the server. In my app I have the folowing controllers: admin_controller application_controller city_map_controller (with method: displayGMap) The admin_controller was created with the following command: ruby script/generate scaffold
2006 Jun 22
11
Help please
Getting this error: SyntaxError in CompanyController#positionslist (eval):1:in `compute_type'': compile error (eval):1: parse error, unexpected tINTEGER Object::2 I could not find anything out about it (googling) and it''s not the clearest error message. Not sure if it''s related to an expected data type but that wouldn''t make sense. The only other thing I can
2007 Aug 24
2
error in rails 1.2.3 activerecord
i''m a rails nuby so i don''t know where to fix this in the activerecord module.... there is no such column in the sys.view.user_constraints. SELECT uc.index_name FROM user_constraints uc WHERE uc.constraint_type = ''P'' this prevents me from doing a rake test:functionals ...as in below.... C:\railsspace>c:\ruby186\ruby\bin\ruby c:\ruby186\ruby\bin\rake
2008 Jun 30
1
Help with form_for
Hello, I had an app running on RoR 1.1, now I''m migrating it to 2.1. In a view I have: <div id="user_management"> <fieldset> <legend>Please log in</legend> <% form_for(:user, :url => sessions_path) do |f| %> <p>Username: <span class="notice"><%= flash[:notice]%></ span></p>
2006 Dec 14
3
Problem with ActiveRecord and Associations
Hi, I''m having what I believe to be a typecast problem with ActiveRecord and Associations. In the code below, I need to flag a contact record for deletion if the contact doesn''t have any addresses or books records: sql = "select id, delete_flag from contacts where id = #{params[:id]}" contact = Contact.find_by_sql(sql) if (contact[0].addresses.count +
2008 Aug 22
2
How to find/open Spec::Expectations and Spec::Matchers
Hi, Then RSpec 1.4 recommends, in the webpage http://rspec.info/documentation/expectations.html, referencing the subject items. I''m running ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32] over WinXP-Pro/SP2. I believe I installed RSpec with a Ruby gem. At least, I think that''s confirmed because I have a lot of stuff in the directory K:\_Utilities
2006 May 17
10
Weird error
What does this mean? (eval):1:in `compute_type'': compile error (eval):1: parse error, unexpected tINTEGER Object::0 ^ Anyone know? Any help counts! Thanks in advance, Mohammad(Programmer-22) -- Posted via http://www.ruby-forum.com/.
2010 Mar 20
0
Problem with videos on heroku
Hi, I have recently moved my RoR app on the Heroku platform, and almost everything works fine apart from the videos. It works fine when my app runs in local but not on heroku. This is the error log I''m getting, if anyone knows where it can be coming from: Processing VideosController#new (for IP at 2010-03-20 04:32:09) [GET] Session ID: 6abecf60c3369d7c7029e366bb801e08 Parameters:
2006 Jun 07
0
HELP pls - no contact app via browser - via console works!
hi again, having been working on a rails-app for quite a time without experiencing any trouble at all an INTERNAL SERVER ERROR 500 was presented on screen. After that each and every attempt to connect to my app via browser is commented like that : undefined method `link_to'' for #<#<Class:0x253345c>:0x25333a8> (''link_to'' is just an example for a method ...
2009 Jan 14
7
Utter Newbie, HELP!!!!
Dear Ruby on Rails Expert with Compassion for a Newbie, (:->) I just got started. I tried: At the Windows Command Prompt: ruby puts "Hello, world!" ^D The response is: -:2: syntax error, unexpected ''^'', expecting $end I am using Ruby 2.2 (ruby186-26.exe). What can I do, besides pull out my hair? This can be very discouraging for a complete novice. Roger
2008 Dec 08
2
undefined method 'render_file' for class 'ActionView::Base'
I need some help with SimpleLog I have SimpleLog running at HostingRails. I want to develope and test new themes stuff on my local system. I getting the error from actionview_ex.rb:12 undefined method ''render_file'' for class ''ActionView::Base'' I am at: Ruby: 1.8.6 Rails 2.2.2 gem: 1.3.1 rake: 0.8.3 I am a new rails/merb/ruby developer. I think I am on the