search for: hartl

Displaying 20 results from an estimated 34 matches for "hartl".

Did you mean: harte
2012 Dec 28
3
installing ruby 1.9.3 in michael hartl's ruby on rails tutorial
I''m working on Michael Hartl''s ruby on rails tutorial http://ruby.railstutorial.org/ruby-on-rails-tutorial-book#sec-development_tools . I installed Git, updated my OS to 10.8.2 and downloaded XCode 4.5.2. when I type in rvm install 1.9.3 this long thing comes up... Ruby (and needed base gems) for your selection...
2012 Jul 18
3
Undefined method error
I have been working on a project based on Michael Hartl''s book Ruby on Rails Tutorial in order to try to teach myself Ruby on Rails. However, when it tries to render a form designed to allow a user to submit a small message, I get an error saying, "undefined method `model_name'' for NilClass:Class". It says the error is at lin...
2013 Mar 16
3
Do you ALWAYS use "bundle exec rspec spec" tests?
I''m going through Michael Hartl''s Rails tutorial, and I am happy to report that (as of the end of section 7) I''m able to get things working. (That said, I skipped the section on automated testing, as Hartl warned that automated testing is the most likely part of his book to become outdated.) There is a heav...
2023 Oct 16
0
Stale file content
...e <https://mail.onelink.me/107872968?pid=nativeplacement&c=Global_Acquisition_YMktg_315_Internal_EmailSignature&af_sub1=Acquisition&af_sub2=Global_YMktg&af_sub3=&af_sub4=100000604&af_sub5=EmailSignature__Static_> > > On Friday, August 18, 2023, 11:41 PM, Norbert Hartl <norbert at hartl.name> wrote: > > I found another file that went stale and monitored that for hours but the content did not update. While one client machine just progressed with the content, the second machine has always the same content. I touched the file and this works in both dire...
2013 Aug 27
2
trying to create asset management app having trouble with edit page
i trying to create an asset management app. i am working through the ruby on rails 4.0 guide by Michael Hartl but in his guide it shows edit page for authenticated users i do not needthis function as the app will be deployed to an intranet. i have tried to adapt the edit portion in the above mentioned guide but it is not working. i am a newbie to this so any help with websites to look at or other forums or...
2012 Nov 07
12
Develop using Rails in offline mode
I''m very new to Rails and I''m quite confused if I can practice Rails in offline mode? I''m following the Ruby on Rails Tutorail by Michael Hartl and I noticed that after generating a new app through the command "rails new app_name", "bundle install" is then called to download the gems specified in the Gemfile. What if I don''t have an internet connection? Can I still play with Rails? -- You received this me...
2011 Nov 12
4
No route matches [GET] "/microposts/304"
Hi all, I''m learning Rails by Example (chapter 11), by Michael Hartl ( http://ruby.railstutorial.org/chapters/user-microposts#top) but I got no route matches when I try to delete one micropost. the _micropost html is... <tr> <td class="micropost"> <span class="content"><%= micropost.content %></span> <...
2002 Jan 22
1
problem with syslinux
...ersions up to 1.48 work fine but from 1.49 there is a problem. when booting linux the system hangs after the message: Uncompressing Linux... Ok, booting kernel. sometimes there that message isn't displayed and the system just hangs with an empty screen. can you help me? best regards simon hartl ------------- OSST GmbH Scharitzerstrasse 21a A-4020 Linz Austria Tel: +43-70-601440 Mobile: +43-699-16014404
2002 Feb 01
1
problem booting linux on intel scb2 ata board
...e problems are different: with 512MB RAM: the kernel boots process works fine but it can't find the rootfs (the initrd) which results in kernel panic. with 1GB RAM all works fine is there any solution for this problem (i've also tried syslinux -s with the same result)? best regards simon hartl ------------- OSST GmbH Scharitzerstrasse 21a A-4020 Linz Austria Tel: +43-70-601440 Mobile: +43-699-16014404
2003 Apr 22
1
Setting SeServiceLogonRight ?
...i think that the "SeServiceLogonRight" Privilege is not set by the Samba PDC thus not allowing an Account to be startet as a service. Has anyone an idea howto start the Exchange Services with an Samba Account ? Exchange 5.5 is not accepting the Local System Account ! thanks, DI Helmut Hartl
2013 Oct 08
1
Trouble with rspec and FactoryGirl Sequence
I''m following Michael Hartl''s Ruby on Rails 3 Tutorial but I''m using Rails 3.2.8 and FactoryGirl 4.2.0 and rspec 2.14.1 I''m in chapter 10 trying to generate tests for pagination (using will_paginate 3.2.5 which works fine in dev) I can get FactoryGirl to test just fine if I don''t use Seq...
2013 Mar 18
10
Learning Rails - Advice for development environment
Hello, I have been learning Rails for several weeks now. I am working through Michael Hartl''s tutorial and other various things. My question is basically regarding what type of environment to do my development in. First, some background: I have used different linux distros on and off throughout the years, so it was easy and familiar for me to set up my desktop computer with M...
2012 Jul 03
1
View with Variable Number of Fields
I''m a relative n00b when it comes to Rails. I''ve gone through Michael Hartl''s tutorials (both editions, books and screencasts) and I can build a basic CRUD web app without help. However, for a personal project I''m working on, I''m lost as to how to move forward. Here''s the situation ... I have a model called Project with two fields, na...
2013 Oct 04
4
Best Book 4 RoR
Hello, Is there a great book for Ror. I am looking for a book with a step by step approch and by PROJECTS!! RoR needs to be ''practiced'', and i didn''t find those WORKING PROJECTS. Am i dreaming or is this paper exists. All the books on amazon are not amazING. They talks only about theory. Theory is fine, i mean this is RoR. But then... Thanks for those who, first,
2011 Jun 12
3
Problem with undefined variable current_user
Hi everyone, I''m working through the tutorial at the following link and attempting to customise/adapt the lessons for my own slightly different application. Link: Ruby on Rails Tutorial: Learn Rails by Example | Ruby on Rails 3 Tutorial book and screencasts | by Michael Hartl <http://ruby.railstutorial.org/ruby-on-rails-tutorial-book> I''m currently trying to work through chapter 10, but having some problems with the variable ''current_user'' not being properly defined in the ''signed_in'' method. Everything looks fine t...
2013 May 02
1
trouble-with-capybara-and-rspec-on-a-new-model-spec
I have searched a lot for a solution, but I could not find it! I am trying to make a rails application after watching Michael Hartl''s tutorial and when i fill data manually and submit it nothing happens and nothing records in the Mailers table and I am facing the following error: Failures: 1) Mailer pages mail us with valid information should send a mail Failure/Error: expect { click_button submit}.to change...
2012 Nov 06
2
rspec failure upon revisit
I just returned from a different project after taking a few weeks off of my tutorial. I''m using Ruby on Rails 3 Tutorial - Learn Rails by Example by Michael Hartl. After rebooting my server I ran an rspec spec/ command to check to see if there were any problems and this is what I received. I didn''t modify anything except I did overwrite users_controller.rb and users_controller_spec.rb when starting another chapter of the tutorial. I''m not...
2012 Sep 18
2
NoMethodError with rake db:migrate
Hi! First of all, this is my first application on Rails, and i''m stuck at a migration. i created a demo app (the demo_app from michael hartl''s tutorial) as usual: rails new demo_app, rails generate scaffold User name:string email:string, and when i do rake db:migrate, this stack appears: rake db:migrate --trace ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment ** Invoke db:load_confi...
2009 Jun 23
2
syntax error, unexpected tINTEGER, expecting $end
...hat the zip code 95035 is mysteriously incremented by one to become 95036 in the error message. Interestingly, when the zip code does not exist, no error is produced: >> GeoDatum.find_by_zip_code(11111) => nil >> I am following the examples in "RailsSpace" by Hartl. I am using Ruby 1.8.7 and Rails 2.3.2. Not sure if this is a Ruby bug. See http://redmine.ruby-lang.org/issues/show/386. Below is the code that creates the geo_data table. db:migrate went fine. Please help. Thanks. Code 1. class CreateGeoData < ActiveRecord::Migration 2. def se...
2011 Oct 02
5
tutorial: gravatar_image_tag problem
Hi all, Still working through the Hartl tutorials. Making progress but am hitting (another) wall. The repository is on github at: git-9UaJU3cA/F/QT0dZR+AlfA@public.gmane.org:aamax/sample_app.git if you want to see the code. I''ve pretty much followed the tutorial exactly except I am using rails 3.1.0 rather than 3.0.1 and...