[Rails] Rules Engines

2014-08-08 Thread Connor McKee
T firm, and this was just "assigned" to me. I greatly appreciate any insight/advice/examples/etcetera that anyone has to offer! Thanks for your time, Connor -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Rub

[Rails] Issues with Relationships

2010-09-02 Thread Connor Baskauskas
You can take a look at the app I'm referring to at: http://github.com/585connor/QA So, I've built this question & answer app... kind of. I can get the answers to be listed on their respective questions but I cannot figure out how to get the user info to be displayed on those questions/answers. For

[Rails] Re: Ror with MongoDB problems and questions

2010-07-05 Thread Roman Connor
ok i guess i fixed problem I installed "devise" - auth manager and it works only with active_record and mongoid and doesn't support mongo_mapper so far. So in config was active_record by default. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed t

[Rails] Ror with MongoDB problems and questions

2010-07-05 Thread Roman Connor
Hi Ok what i want to do is work with MongoDB using standard ActiveRecord methods like Model.all Model.find and so on but whithout ActiveRecord itself. First to notice Ror using database.yml where we create connection config like define: adapter database login password socket ok for mongodb we have

[Rails] Re: server wont start

2010-03-24 Thread Zayd Connor
Gary Doades wrote: > On 24/03/2010 10:34 AM, Zayd Connor wrote: >>Up and running!! Thanks Gary Kindest Regards Zayd >> > Yes, but it's the rack version it is complaining about, not rails. > > gem install rack -v=1.0.1 > > Cheers, > Gary. --

[Rails] server wont start

2010-03-24 Thread Zayd Connor
In my command line I type script/server and I get the following error below: /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:826:in `report_activate_error': RubyGem version error: rack(0.9.1 not ~> 1.0.1) (Gem::LoadError) from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:260:in `activate' from

[Rails] Ruby Gems version issue

2009-11-02 Thread Connor
re is some code directly from my terminal (I'm on an ubuntu system): con...@connor-desktop:~/Desktop/project$ sudo ruby script/server [sudo] password for connor: Rails requires RubyGems >= 1.3.1 (you have 1.2.0). Please `gem update --system` and try again. con...@connor-desktop:~/Desktop/p

[Rails] Re: Rails with Jquery/running into a problem

2009-06-09 Thread Zayd Connor
Silly me the function I was calling should be camel cased Didnt work => $('#box').fadeout('slow'); This worked perfect => $('#box').fadeOut('slow'); -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subs

[Rails] Rails with Jquery/running into a problem

2009-06-09 Thread Zayd Connor
I'm going through some beginner tutorials for Jquery, and Im running into an issue. The whole purpose of the tutorial is to get a red box to fade out when clicking on the click me link, this does not work for me Could my setup be configured incorrectly? correctly. I put my jquery-1.3.2.js in my

[Rails] Ui Designing with Rails opposed to PHP

2009-06-08 Thread Zayd Connor
Why are there more web design users using PHP instead of using Rails? Is there an advantage using PHP over Rails? Thanks -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Rub

[Rails] Re: Running jQuery and prototype scripts together

2009-06-08 Thread Zayd Connor
Robby Russell wrote: > You'll need to execute this after you load the jQuery file.. > > jQuery.noConflict(); > > Robby > > On Mon, May 25, 2009 at 11:06 AM, lyntaff wrote: >> >> Many Thanks in advance. >> > >> > > > > -- > Robby Russell > Chief Evangelist, Partner > > PLANET ARGON, LLC >

[Rails] Re: How to Delete Table from Database?

2009-06-06 Thread Zayd Connor
Brian wrote: > Or, if you created it with a migration, you can just undo it the same > way (the code is already written for you): > > rake db:migrate:down VERSION=x > > You can grab the version number from the front of your file name in db > \migrations > > On

[Rails] How to Delete Table from Database?

2009-06-01 Thread Zayd Connor
I want to delete my project, how do I delete my table inside my sqlite database? Thanks -- 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

[Rails] Re: Keep getting this error after running scaffold command

2009-05-13 Thread Zayd Connor
Andrew Timberlake wrote: > On Thu, May 14, 2009 at 7:04 AM, Zayd Connor > wrote: >> compile error >> >> I usually run the scaffold command and never had this issue before >> >> Thanks > > > Should you have the '#' after seat? > Have

[Rails] Keep getting this error after running scaffold command

2009-05-13 Thread Zayd Connor
I ran ruby script/generate scaffold Ticket artist:string seat#:integer price:integer ticket_price:float in my terminal Then I entered rake db:migrate I went to http://localhost:3000/tickets and I'm getting this error shown below, Showing app/views/tickets/index.html.erb where line #21 raised:

[Rails] Placing orders using Rails

2009-05-13 Thread Zayd Connor
I'm in my three months process of learning rails, and have some questions on a project that I have intentions to work on. In my web app I want users to be able to login place however many orders using credit card information, how do I go about doing this with rails? Can I use the scaffold command

[Rails] Re: Gem install Rails issue

2009-04-13 Thread Zayd Connor
Philip Hallstrom wrote: >> Im trying to install rails gem on OSX 10.5.6, but when i use the gem >> install rails command this message displays WARNING: Installing to >> ~/.gem since /usr/local/lib/ruby/gems/1.8 and >>/usr/local/bin aren't both writable. >> Successfully installed rails-2.3.2

[Rails] Gem install Rails issue

2009-04-13 Thread Zayd Connor
Im trying to install rails gem on OSX 10.5.6, but when i use the gem install rails command this message displays WARNING: Installing to ~/.gem since /usr/local/lib/ruby/gems/1.8 and /usr/local/bin aren't both writable. Successfully installed rails-2.3.2 1 gem installed How can I get my gems

[Rails] Should I install ruby 1.9?

2009-03-30 Thread Connor Batman
I've updated rails to 2.3.2, should I update ruby to 1.9? What are the advantages/disadvantages in doing so? I'm on os x. thanks -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[Rails] Head First Rails Book

2009-03-12 Thread Zayd Connor
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] Re: How to Generate Controllers from the command line

2009-02-19 Thread Zayd Connor
Master Chief wrote: > Being a newbie myself, I will add a word of caution. > > Compare the version the book is based on, with what you are running. I > was on Rails 2.2.2 and its syntax for scaffold generation is different > from the earlier versions in the sense that the attributes are > expecte

[Rails] How to Generate Controllers from the command line

2009-02-19 Thread Zayd Connor
Am I doing this correct. ruby script/generate controller Site index about help after I run the line above from the command prompt it spits out exists app/controllers/ exist app/helpers/ create app/views/site Etc. What does exists and create mean, is exists telling me that those control