search for: railsspac

Displaying 17 results from an estimated 17 matches for "railsspac".

Did you mean: railsspace
2008 Feb 12
3
Rails Messaging (INBOX) system
Hi All.. I need to implement messaging system in one of my rails applications(To say simply it must be similar to orkut messaging system). Even if i am having a rough idea on how to implement it, i need any one your guidance to the way of approach. Could any one suggest me with good stuff or links which may guide me to implement the mentioned feature. I greatly appreciate any replies Thank
2012 May 22
4
undefined method `paginate'
I am working with Railsspace social networking book. I stuck in the problem when i am doing paginate for the search result. It gives the following error. NoMethodError in CommunityController#index undefined method `paginate'' for #<CommunityController:0x57436f0> My Controller Index page coding is below def i...
2008 Apr 16
4
Doing a radius/location search
...een looking at the Google Maps API but I''m not sure if it would let me do what I *really* need, which is to query for all zip codes within 30 miles of a given zip code, so I can display the events to users who live within that radius and hopefully get them to attend. I have the book "RailsSpace", and it implements something similar to what I want with a database, but if I go this route will it prevent me from using Google Maps at a later date? I haven''t really looked yet to see if there are any plugins that can help me out with this - I want to get a handle on the concepts...
2007 Aug 24
2
error in rails 1.2.3 activerecord
...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 test:functionals --trace (in C:/railsspace) ** Invoke test:functionals (first_time) ** Invoke db:test:prepare (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:test:prepare ** Invoke db:test:clone (first_time)...
2010 Jul 25
0
Testing problems: ActiveSupport
...s 2.3.8(I know why I get the first one, but I''m not sure about the ActiveSupport errors): Exception: undefined method `screen_name'' for nil:NilClass C:/Ruby191/lib/ruby/gems/1.9.1/gems/activesupport-2.3.8/lib/active_support/whiny_nil.rb:52:in `method_missing'' D:/Projects/RailsSpace/test/functional/user_controller_test.rb:39:in `try_to_login'' D:/Projects/RailsSpace/test/functional/user_controller_test.rb:28:in `testing_logout'' C:/Ruby191/lib/ruby/gems/1.9.1/gems/activesupport-2.3.8/lib/active_support/testing/setup_and_teardown.rb:62:in `run'' C:/Ruby...
2008 Jan 20
9
Ferret Gem Installation on Windows
Trying to install ferret on my windows XP environment. Using InstantRails 2.0 with RoR 2.0.2, and NetBeans 6.0. I had successfully installed and built RailsSpace in InstantRails 1.7, but am trying to upgrade RailsSpace to RoR 2.0.2 using the code that Michael has kindly provided for us on the website. When I run the gem install ferret command, I get the following error: C:\Documents and Settings\ruparelb>gem install ferret Updating metadata for 35 gem...
2009 Sep 12
3
Cannot get my password to validate
Hello, I am working through the railsspace tutorrial, and i''ve noticed that the password validation is no longer working. I can get screen_name and email to validate, but for some reason, the password field is ignored... here''s what i have so far: within user.rb file PASSWORD_MIN_LENGTH = 4 PASSWORD_MAX_LENGTH = 40...
2010 Aug 14
10
Redirecting after logging in
Hey everybody, I''m trying to make an example of a small networking site, and when I log in a user, it should redirect and show his profile, but I get the following error: NoMethodError in User#index Showing app/views/user/index.html.erb where line #5 raised: undefined method `screen_name'' for nil:NilClass Extracted source (around line #5): 2: Your basic information 3:
2009 Jun 23
2
syntax error, unexpected tINTEGER, expecting $end
...(irb):3 I notice that 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::Migratio...
2008 Jan 13
0
rake db:test:prepare causes error
I am a newbie to RoR and I''m having trouble getting testing up and running. I tried Googling my problem and haven''t found an answer that has worked. When I run rake db:test:prepare, I get the following error (I''m working with the RailsSpace book): Macintosh:rails_space myusername$ rake db:test:prepare (in /Users/myusername/Documents/rails_projects/rails_space) rake aborted! Mysql::Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ''DE...
2008 Oct 08
2
private method `gsub' called for 2:Fixnum
RoR Error: “private method `gsub'' called for 2:Fixnum” I am new to RoR and trying to complete “RailsSpace Social Networking” example, all works fine until I have implemented cookies using authorization_token, and start getting following error when trying to login. “private method `gsub'' called for 2:Fixnum” I can make out that there is something related to String conversion but not sure go...
2009 Mar 13
2
Head First Rails Book
I''m going through Rails Space right now, but has anyone heard any good things about this book for a rails beginner? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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
2009 Nov 11
1
getaddrinfo: nodename nor servname provided, or not known
Hi there, If I want to create email within my application (in production), how is this best achieved?? Following the railsspace tutorial, it only really suggests to use :smtp. I''d read on another site that to generate emails locally, i need to use :sendmail instead... However - I havent seen any decent examples of how to get this configured to be able to send emails within my local area. Within my email_controll...
2007 Aug 09
3
method_missing error......need some eyes for this one
Working through the tutorials in the RailsSpace book, and cannot figure out what I am doing wrong here. Full code for the edit function which is tossing the error as well as appropriate code from the model the actual error are pasted below. Thank you for your help. Dave ____________________________________________________________________ N...
2010 Jul 31
4
Exception: can't dup Symbol
Hey everybody, I''m trying to test a little piece of code I wrote, and I get the following error: Exception: can''t dup Symbol It happens in the following line: try_to_login @valid_user, :remember_me => "1", where the function try_to_login is: def try_to_login(user, options = {}) user_hash = {:screen_name => user.screen_name, :password => user.password}
2008 Mar 15
4
* Please help a RoR Newbie!!*
Hi Everyone! I''ve only just started with Ruby so am a touch lost. THis morning i downloaded the quick win (locomotive) and, once i swith that on, I can view the Ruby start page at localhost:3000 My problem is, I''m not that great with finding my way round terminal. I can do basic cd .. etc to view files, but am VERY LOST!! :-) the Ruby page says: # Create your databases and
2008 May 07
9
Newbie book recommendations for Rails 2.0.
So Agile rails development (covering rails 2.0) is out In October, in the mean time what book should a newbie (with some asp/asp.net development) buy? Please don''t recommend any Pdfs as I have zero use for anything that isn''t in dead tree format. Thanks in advance, --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the