search for: railstutorial

Displaying 20 results from an estimated 103 matches for "railstutorial".

2013 Oct 21
6
I think I've found a mistake in Rails tutorial
At the point of this section *http://ruby.railstutorial.org/chapters/sign-up#sec-signup_failure*<http://ruby.railstutorial.org/chapters/sign-up#sec-signup_failure> clicking the "Create my account" button on the signup form shows the following image at <http://ruby.railstutorial.org/images/figures/signup_failure_rails_4.png> Acco...
2010 Oct 20
3
rspec error's when checking LayoutLinks from the railstutorials
I am following the rails tutorial: http://railstutorial.org/chapters/filling-in-the-layout#top Basically the test is something like: spec/requests/layout_links_spec.rb require ''spec_helper'' describe "LayoutLinks" do it "should have a Home page at ''/''" do get ''/'' resp...
2011 Mar 08
0
railstutorial.org has epub or mobi version?
I''m considering buying the railstutorial.org video + pdf bundle... however, I''d like to have the ebook in mobi / epub version so I can read it on my Kindle (nicely formatted). Anybody knows if mobi version is included? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"...
2013 Mar 02
3
Following railstutorial.org tutorial, how to make the microposts be seen by all?
I am a new learner of Ruby on Rails. I followed through the railstutorial.org tutorial and I''m trying to learn off the sample demo app where you can to make microposts and only the people who are "following" you can see them. If I wanted to make it so every user can see microposts as an additional functionality, what are the steps to do that? -- Post...
2011 May 08
1
Spork + Autotest Failure
Hi folks, I''m going through railstutorial.org and so I apologize if I''m hitting the wrong group here and would appreciate any appropriate redirection if necessary. I''ve set up Spork + Autotest as per Michael''s instructions in http://ruby.railstutorial.org/chapters/static-pages#sec:testing_tools Essentially by d...
2013 Oct 21
8
git push not working
<https://lh4.googleusercontent.com/-IA0TutFw54A/UmVnJwi7CHI/AAAAAAAAAzg/fEZFf_kHsug/s1600/git.gif> Hi again, I''m working on http://ruby.railstutorial.org section http://ruby.railstutorial.org/ruby-on-rails-tutorial-book#sec-git_push I''m trying to push the repository to the remote site but what ever I fials. I''ve updated, removed the s of the https etc but still can not push. using command when I use command: $ git remote...
2010 Dec 29
5
Beginer: Question about routing on Rails 3
I bought this book about rails for beginers (head first Rails) and its quite simple and good for someone who has no clue about Rails (or any other language) On chapter two it talks about routing but unfortunately the book is for rails 2 and i have rails 3 installed on my mac. The line i have to enter in the config/routes.rb of my application is: map.connect ''/ads/:id'',
2010 Dec 11
3
Why doesn't Heroku show the Rails default page?
Following chapter (1) of the Ruby on Rails tutorial: http://railstutorial.org/, I was able to successfuly push the application to "Heroku" using: > git push heroku master But, when I open the website, I get a page with the following: App crashed This application is temporarily offline. If you''re the administrator of this app, please check your hero...
2012 Nov 06
2
rspec failure upon revisit
...</section><footer><nav class="round"><ul> <li><a href="/about">About</a></li> <li><a href="/contact">Contact</a></li> <li><a href="http://news.railstutorial.org/">News</a></li>... <li><a href="http://www.railstutorial.org/">Rails Tutorial</a></li> </ul></nav></footer> </div> </body> </html> # ./spec/requests/layo...
2011 Aug 25
2
Problem with rails generaterspec:install, Error-Message: no such file to load, sprockets-railtie (loadError)
Hey guys, I''m a RoR-Beginner and I started learning it with the RoR-Tutorial. Actually I''m at this chapter (http://ruby.railstutorial.org/chapters/ static-pages#top) and try to install rspec. But everytime when I try to use "rails g rspec:install" I get this error message: C:\Sites\rails\rails_projects\sample_appp>rails g rspec:install C:/Sites/rails/rails_projects/sample_appp/config/application.rb:8:in `require'...
2011 Jun 12
3
Problem with undefined variable current_user
...ryone, 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 to me, but as I am obviously m...
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 some of the other gem versions are different. I
2011 Jun 09
3
Basic database question
Hi there Yes, I know very little of ruby. I must take a crash course? Probabily. Anyway, I try to ask this here. I have a control: customer_controller. From here, I can do something like: @id = 1 @customer = Customer.find(id) Now @customer will contain all the fetched record for customer with id = 1. Great. From this controller I will render an html page. Somewhere the view will print test.
2013 Oct 17
5
Newbie - Installation Problems
Hi, If im in the wrong place please redirect me: I have decided that i''m goignt o jump inand learn rails the hard way. I know I have to go through the initial learnign curve. One of them is to know where to go when you get stuck.. so here goes... I''m installing on Windows 7. using guide: http://guides.rubyonrails.org/getting_started.html Ruby version:1.9.3p392 Rails
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> <span class="timestamp&q...
2012 Jun 30
4
find_by_sql and join
hi I amd tanizawa. I had problem. I can not get main.name value from below sql. "find_by_sql ''select main.id,main.name,sub.name from main left join sub on sub.id = main.id''" Please teach me how to get borth name value. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the
2010 Aug 06
1
Could not find generator rspec:install.
I''m trying to follow this tutorial here: http://railstutorial.org/chapters/static-pages#top When I run: $ rails generate rspec:install I get: Could not find generator rspec:install. What could be the problem? Thanks.
2011 Sep 30
1
RoR running on Localhost but not on Heroku
Hey there, I have been following http://ruby.railstutorial.org/chapters/beginning#top since yesterday and I am going good on my machine with ROR. I have used RailsInstaller for my environment on Windows7. My two apps are working good on my localhost:3000 but as I put them into Heroku, I am getting error, respectively, http://meinkampf.heroku.com and ht...
2012 Nov 06
1
Proper deployment steps + next steps of learning RoR
...to deploy an app into the PROD environment? Here is what I''m trying to avoid: when writing/testing application (ie. new user signs ups) on my local machine, I don''t want these users to be deployed into the PROD environment along side. 2. I''m going through http://ruby.railstutorial.org and when I finish-- what should I pursue next? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from...
2012 Jun 27
2
Select Helper Array of Array + Filter
Noob alert! Hi, I am having trouble figuring out how to filter a select helper. The following shows all of the rows in the table but I would like to filter the collection from the list_name column (:list_name => "Project Status"): @project_status = Valuelist.all.collect {|s| [s.list_value,s.id]} Thanks in advance, James -- Posted via http://www.ruby-forum.com/. -- You received