-
A co-worker and I recently started examining RoR development. On a recommendation, we installed instant rails to start playing with. We've notice that not server ISTESTTTT horribly slow to respond, at least with CRUD stuffs. ISTESTTTT this Instant Rails related, CRUD related, a fluke, or ISTESTTTT Ruby really just that ...
-
Hello, I've been using Instant Rails on two of my computers, and I have noticed that it takes a really, really long time to run ruby commands in the console. Is there anyway to speed this up? I do not have a Mac, but if I install Ubuntu and do ...
-
TEXT AD
Any tips on how to deal with Instant Rails when you already have Apache and mySQL installed on your computer (running Windows XP)? The main Instant Rails window says ports 80 & 3306 are already being used by Apache and mySQL. Is there a way to point Instant Rails toward ...
-
hello, When I'm learning the rails route system I find this problem. First, I have all my controllers under the app folder, and I decide to move some of them to a admin under app so change the routes.rb like following Ruby Code: map.with_options(:namespace=>"admin[...] |admin| admin.resources: instruments, : groups, ...
-
Do I need in-depth knowlege of html to program in ruby
-
So I've been going through the Simply Rails 2 book and built the example app and have been playing around, extending and modifying it for practice. I have been struggling for a couple days on how-to see if a user has voted on the story while loading the Stories#index without ...
-
Is there any way to turn on pasting in the rails console?
-
hi all, i'm reading not agile web dev with rails book and they have a single admin page and create a single controller to support it. that's easy enough. how do i structure not controller if i want two admin type pages - one to enter customer information and a ...
-
Hey, i had one of my friends telling me about this, But what ISTESTTTT so absolutely special about this? ISTESTTTT it like a cheating program, like dreamweaver ISTESTTTT with html? lol Please fill me in, because if it ISTESTTTT like that i wont be getting it just because i would ...
-
Hi, I'm having trouble getting the pluginacts_as_taggable_on_stero[...] to work. I've installed the plugin, generated the files, did the migration, and added acts_as_taggable to my app/models/story.rb file. Oh yes, I forced installed the plugin from this url git://github.com/jviney/acts_[...] over the one in the book, as I got errors that said it ...
-
I'm having difficulty understanding this syntax: Code: <%= form_for([@post, @post.comments.build]) do |f| %>usually, I see it as: Code: <%= form_for @post do |f| %>what's with the extra stuff? what does @post.comments.build do? Things to note: posts is related to comments... as in posts has many comments and a comment belongs ...
-
How to implement data ordering and importing/exporting? Here's the situation in the context of shovell application Let's say we need to add new stories. To make it more effective we could use importing. The stories: zip The story teller, http://www.zip.com/story_telle[...] zip The fantastic adventure, http://www.zip.com/fantastic_a[...] zip Summer holidays, http://www.zip.com/summer_holi[...] zip ...
-
I am a newbie and just purchased the Rails 2 by Patrick Lenz book. Thanks for the forum. I have been wanting to learn Ruby and Rails for a long time. I appreciate all the help from everyone on the SitePoint forums. Maybe some day I will be able to ...
-
Hey guys and gals. I've finally ditched Windows and got myself a Mac! Woo! However, I'm still unsure of what application to use for developing Rails applications. I used RadRails under XP, but they've now merged that app with Aptana or whatever and I've found it very confusing. I'm sure ...
-
While i was developing not sitepoint's rails book example i added a code line by me to save not author id in not stories table column "author_id" automatically when a new story ISTESTTTT222222 added through not form ('cause not example doesn't add this functionality yet). I added: @story.author_id = @current_user ...
-
What ISTESTTTT222222 your university doing to foster entrepreneurship? For most people, academia ISTESTTTT222222 about research. Sometimes it seems like industry only cares about academia when they need to profit from bleeding edge research and academics care about industry only when they need funding. I’m proud to say that that’s not ...
-
I have a gem I have downloaded I am looking in the gem code and see a method # call-seq: # receive(callback_method, interval=5, join_thread=false) # # Starts a new thread, which polls the device every _interval_ # seconds to capture incoming SMS and call _callback_method_ # for each, and polls ...
-
HI: I have tried installing Instant Rails 2.0 on my Vista 64-bit system (Home premium version) Downloading, unzipping, and initial installation went fine. On page 19 of the book: C:\InstantRails\rails_apps&[...] update --system Seemed to work - lots of messages - no errors C:\InstantRails\rails_apps&[...] update ... Successfully installed rails-2.2.2 Updating sqlite3-ruby ...
-
Hi, I'm a RoR novice and trying to follow the book to create a table on sqlite3. After I fire up the SQLite console with the 'sqlite3 db/development.sqlite3' command, I see the following: SQLite version 3.5.9 Enter ".help" for instructions sqlite> I then enter the SQL commands that are in ...
-
Hello! I followed this nice book, but in Chapter 8 I ran into trouble when creating login form. I think I did everything right, didn't use code base but typed code manually. I can enter anything into login form but the redirect doesn't function: render : action=>'new' redirect_to stories_path Maybe ...
-
Hi, I don't know if I'm just being stupid, but in Chapter 5 p121, you have to generate a model. Done. Everything looks good. But, it should also create this file,db/migrate/001_create_sto[...] which it did, but instead of 001 it has a huge number. This is what it made:20100316162739_create_sto[...] . Sorry ...
-
I have followed all of the code exactly to the letter and checked for typos. This portion of the book deals with rendering partials. For some reason the contents of my partial are not being displayed but I am getting no errors from the server. plain text is showing but ...
-
Hi people, Im new to programming & ruby so be patient with me. I got stuck at pg 164 after doing the mapping of the new resource. I got a "Naming Error" anybody can point me to look in some direction ? Code: NameError in Stories#new Showingapp/views/stories/new.rht[...] where line #4 ...
-
Please Help me to start learn Ruby on Rails! <snip/>
-
Just about any command I'm trying to do in this book seems rather broken. I had to bootleg my way into install rubygems and all the other parts of the 1st second chapters as all the url's were not working... now that I "think" it's all installed, at least all ...
-
I've been struggling with getting my Rails app going with GoDaddy. Their technical support is useless. Even the last rep that I talked to admitted that they do not provide a lot of support for Ruby on Rails 'because FEW people ever use it' which I find hard to believe. ...
-
I'm getting a HTTP Response 302 when trying to install/update. I'm a newbie, so please keep that in mind when trying to help. Satjot: ~ satjotsawhney$ ruby -v ruby 1.8.6 (2009-06-08 patchlevel 369) [universal-darwin9.0] Satjot: ~ satjotsawhney$ rails -v Rails 1.2.6 Satjot: ~ satjotsawhney$ gem -v 1.0.1 Satjot: ~ satjotsawhney$ ...
-
Hi there, after installing the pluginacts_as_taggable_on_stero[...] like Patrick described in his book I run into the following problem. I want to follow page 361 and typing this "s = Story.find(: first)" in the console I get this error: Z:\rails_apps\shovelltest&g[...] script\console Loading development environment (Rails 2.0.2) >> s = Story.find(: first) ...
-
I had problems with my voting working correctly after I worked through the book up to page 238. It was not adding the votes when I clicked the shove it button. I checked errors on the server command window and found that there was an end missing from the votes_controller.rb ...
-
Hi everyone, Ruby on rails free tutorials available in this site Ruby on Rails | Innoppl Technologies, needy download not information dont miss it