[Rails] Re: Ubuntu Linux Editor / Prettiefier

2010-04-23 Thread tonypm
Interesting that no one hs yet mentioned emacs. I decided the other day to give it a go since so many posters had raved about it and Netbeans sluggishness was frustrating me. Well I have to say it has been hard work getting into emacs. I can just about use the editor, and after a fair bit of

[Rails] Re: App to Pick up application release from Git/Capistrano?

2010-04-23 Thread Owain
Thanks Peter and Rob. I think it would still make sense to do this during initialization rather than at the application controller since it is during initialization is then it will change. I will also add some logic to the view just to check REVISION is there, perhaps in future the app might not

[Rails] Re: Caching of data on server?

2010-04-23 Thread Pieter Hugo
Hi Guys Thanks for the help - and the warning. I got the global variable thing working - in principle - but now rails complains that I cannot do something like $rights = Rights.find(:all) in environment.rb I'm giving it up for a bad job - (not that I need to squeeze the last drop of

[Rails] Re: Passing variables

2010-04-23 Thread Hemant Bhargava
Hemant Bhargava wrote: Hello all, But now both of the variables are not passing.. Can you guys give me some light that what i am missing here .. ? Anyone listening me.. :) -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google

[Rails] Re: Best practice around putting rails database info int

2010-04-23 Thread Frederick Cheung
On Apr 22, 9:55 pm, Rob Biedenharn r...@agileconsultingllc.com wrote: On Apr 22, 2010, at 4:23 PM, Frederick Cheung wrote: I think there is a difference between an app like mephisto or similar where many people are going to be deploying instances all over the place and a private app for

[Rails] ruby Job in San Francisco

2010-04-23 Thread echeyde
hi, I am looking for some awesome ruby developers in San Francisco for singlefeed. Please see my posting at http://bit.ly/9C9hVP Thanks Echeyde -- 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

[Rails] Socket app on shared environment?

2010-04-23 Thread poolbastard
Hi group, I'm just wondering if anyone has any experienced having a custom socket app, unique port, etc on a shared environment; I'm sort of convinced I would need at least a VPS, but asking just in case some knows of an alternative solution or workaround. Best regards, -- You received this

[Rails] how to display error messages for a child resource that failed validation

2010-04-23 Thread Matthew Hillsborough
Can anyone explain why this happens? mybox:$ ruby script/console Loading development environment (Rails 2.3.5) foo = Foo.new = #Foo id: nil, customer_id: nil, created_at: nil, updated_at: nil bar = Bar.new = #Bar id: nil, bundle_id: nil, alias: nil, real: nil, active:

[Rails] script/server not working, I can't setup my local environment.

2010-04-23 Thread Matt
Hey guys, I've been trying to get my local env up and running on my new machine, I never really figured out how I did it last time, and this time its a nightmare. Every time I go to run script/server in my project file, I get this error below which asks about certain gems being required but I

[Rails] Mocking, a common practice

2010-04-23 Thread mariek
I would like to ask for Your experience how to handle mocking class method only for one specific test. Scenario is: I have unit test suite and in one of the test I have mocked a class method, and I want this class method to be only mocked in this specific test. But this mock applies to all test

[Rails] What is the difference between new and build?

2010-04-23 Thread Manoj Kumar
What is the difference between parent.children child.new and parent.children.build(params[:child]) -- 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

[Rails] Blog ruby on rails/Django Fastes made

2010-04-23 Thread Bob 101155
Hi I've got a little quetion. For school I've to make a blog either using ruby on rails or Django. I've to do this at home, install the languages, etc. I've to make screenshots while running the language and blog. tell why I chose that language and the files i made for the blog. What would be the

[Rails] Re: Passing variables

2010-04-23 Thread Sharagoz
This is Prototype, not Rails, which is probably the reason for the lack of responses. The API is here: http://www.prototypejs.org/api/ajax/options My guess is that you need to replace the comma with a plus operator and prepend the second parameter with a new Ajax.Request('/controller/action?id=

[Rails] Re: What is the difference between new and build?

2010-04-23 Thread Sharagoz
In the first one, the child is saved right away. In the second, the child is not saved until the parent is saved You may find this usefull: http://blog.mrbrdo.net/2009/10/27/ruby-on-rails-new-vs-create-vs-build/ On Apr 23, 9:38 am, Manoj Kumar li...@ruby-forum.com wrote: What is the difference

[Rails] Re: Passing variables

2010-04-23 Thread Hemant Bhargava
Sharagoz wrote: This is Prototype, not Rails, which is probably the reason for the lack of responses. The API is here: http://www.prototypejs.org/api/ajax/options My guess is that you need to replace the comma with a plus operator and prepend the second parameter with a new

[Rails] Re: script/server not working, I can't setup my local environment.

2010-04-23 Thread Frederick Cheung
On Apr 23, 5:12 am, Matt matt7...@gmail.com wrote: Hey guys, I've been trying to get my local env up and running on my new machine, I never really figured out how I did it last time, and this time its a nightmare. Every time I go to run script/server in my project file, I get this error

[Rails] Re: Mocking, a common practice

2010-04-23 Thread Frederick Cheung
On Apr 23, 8:33 am, mariek marek.byt...@gmail.com wrote: And the reason why I need to do it this way is because in some particular tests I need to mock the class method and in other i don't. In my case it is about calls to sandbox. In some tests I check if they are made correctly and in

[Rails] Re: Blog ruby on rails/Django Fastes made

2010-04-23 Thread Fernando Perez
Bob 101155 wrote: Hi I've got a little quetion. For school I've to make a blog either using ruby on rails or Django. I've to do this at home, install the languages, etc. I've to make screenshots while running the language and blog. tell why I chose that language and the files i made for the

Re: [Rails] Re: Mocking, a common practice

2010-04-23 Thread Franz Strebel
Check out flexmock as well http://flexmock.rubyforge.org/ On Fri, Apr 23, 2010 at 11:09 AM, Frederick Cheung frederick.che...@gmail.com wrote: On Apr 23, 8:33 am, mariek marek.byt...@gmail.com wrote: And the reason why I need to do it this way is because in some particular tests I need to

Re: [Rails] how to display error messages for a child resource that failed validation

2010-04-23 Thread Michael Pavling
On 23 April 2010 01:23, Matthew Hillsborough matthew.hillsboro...@gmail.com wrote: That is what I can't figure out. Why am I getting Bars is invalid versus the error messages displayed above, [Real can't be blank, Real you must supply a valid email]  etc. How do I have this output the real

[Rails] Rails internals ?.

2010-04-23 Thread Dani Dani
Hi. I'm new to ROR, I bought the book Agile Web Development with Rails, Third Edition and followed the depot example. I still can't imagine me developing a rails application after that. There are many things that are not explained, and many things that are mentioned, e.g. Rails methods, helpers,

[Rails] Re: Rails internals ?.

2010-04-23 Thread Anubhaw Prakash
Dani Dani wrote: Hi. I'm new to ROR, I bought the book Agile Web Development with Rails, Third Edition and followed the depot example. I still can't imagine me developing a rails application after that. There are many things that are not explained, and many things that are mentioned, e.g.

[Rails] Re: Ubuntu Linux Editor / Prettiefier

2010-04-23 Thread Marnen Laibow-Koser
tonypm wrote: Interesting that no one hs yet mentioned emacs. Ah, good point. Emacs is my favorite console editor, but I'm not all that crazy about the graphical versions I've tried. I decided the other day to give it a go since so many posters had raved about it and Netbeans sluggishness

Re: [Rails] Re: Ubuntu Linux Editor / Prettiefier

2010-04-23 Thread Dhruva Sagar
I support VIM / GVIM all the way Thanks Regards, Dhruva Sagar. On Fri, Apr 23, 2010 at 17:47, Marnen Laibow-Koser li...@ruby-forum.comwrote: tonypm wrote: Interesting that no one hs yet mentioned emacs. Ah, good point. Emacs is my favorite console editor, but I'm not all that crazy

[Rails] Re: Rails internals ?.

2010-04-23 Thread Marnen Laibow-Koser
Dani Dani wrote: Hi. I'm new to ROR, I bought the book Agile Web Development with Rails, Third Edition and followed the depot example. I still can't imagine me developing a rails application after that. Have you tried? Sometimes you just have to take the plunge in order to learn something.

[Rails] Re: AR create_or_update_if_needed rant -- must be a better w

2010-04-23 Thread Marnen Laibow-Koser
Fearless Fool wrote: I'll preface this by saying I (still) consider myself a relative newcomer to Rails, and its likely that I'm missing something obvious in ActiveRecords, but this has been bugging me... I've written a function that I use all the time, but I get a nagging feeling that this

[Rails] Re: slow tests on large rails app

2010-04-23 Thread Marnen Laibow-Koser
Myron Marston wrote: Factory's are nice but they make your tests very slow. This has been my experience, too. Though not mine as far as I can tell. Which factory library are you using? I use Machinist. Best, -- Marnen Laibow-Koser http://www.marnen.org mar...@marnen.org -- Posted via

[Rails] Logging in Production on Network Solutions

2010-04-23 Thread jrq
Network Solutions is really beginning to try my patience. Can anyone help me with get logs to work in a Production environment hosted on Network Solutions? I've edited envionment.rb to include config.log_level = :debug, restarted the app. but I still get nothing in the log directory. -- You

[Rails] Re: Rails internals ?.

2010-04-23 Thread Dani Dani
Thanky you both Marnen Anubhaw. I did run the depot example application and even used debugger to see things from inside, but still felt like someone who types in what he was told. The feeling is still there, if I had to do it myself, there are things I wouldN't know even they exist if they

[Rails] Re: Rails internals ?.

2010-04-23 Thread Ar Chron
Dani Dani wrote: Thanky you both Marnen Anubhaw. I did run the depot example application and even used debugger to see things from inside, but still felt like someone who types in what he was told. The feeling is still there, if I had to do it myself, there are things I wouldN't know

[Rails] Re: How to: Set a datetime params-value to nil in the controller

2010-04-23 Thread Tom Ha
Thanks for the explanations - they helped! -- 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 rubyonrails-t...@googlegroups.com. To unsubscribe from this group,

[Rails] Re: can i have a model called FILE.RB?

2010-04-23 Thread Ar Chron
You can get by reusing a class name, but it's a PITA. I had a model named Filter, then upgraded Rails at one point, and all sorts of ugly conflicts occurred since the new version of Rails included a Filter clas. One solution is to reference the class to the local namespace, such as in the

[Rails] Re: can i have a model called FILE.RB?

2010-04-23 Thread Marnen Laibow-Koser
Ar Chron wrote: You can get by reusing a class name, but it's a PITA. I had a model named Filter, then upgraded Rails at one point, and all sorts of ugly conflicts occurred since the new version of Rails included a Filter clas. One solution is to reference the class to the local

Re: [Rails] Re: Ubuntu Linux Editor / Prettiefier

2010-04-23 Thread Greg Donald
On Fri, Apr 23, 2010 at 1:50 AM, tonypm tonypmar...@hotmail.com wrote: I havn't yet found a quick way to duplicate a line or series of lines eg alt+ctl+down arrow in netbeans - if anyone can enlighen me I would be grateful. 1) Move the cursor to the start of the text you want to select. 2) Set

Re: [Rails] Re: Ubuntu Linux Editor / Prettiefier

2010-04-23 Thread Greg Donald
On Fri, Apr 23, 2010 at 1:50 AM, tonypm tonypmar...@hotmail.com wrote: the thing I feel that is slowing me down at the moment is switching between buffers when working with multiple source files. I switch buffers using the arrow keys most of the time. Ctrl + x, and then left or right arrow.

Re: [Rails] Re: Ubuntu Linux Editor / Prettiefier

2010-04-23 Thread Greg Donald
On Fri, Apr 23, 2010 at 7:17 AM, Marnen Laibow-Koser li...@ruby-forum.com wrote: Ah, good point.  Emacs is my favorite console editor, but I'm not all that crazy about the graphical versions I've tried. But it's just so beautiful! http://static.destiney.com/emacs_screen_shot.jpg :) -- Greg

[Rails] Re: can i have a model called FILE.RB?

2010-04-23 Thread Frederick Cheung
On Apr 23, 2:43 pm, Marnen Laibow-Koser li...@ruby-forum.com wrote: Ar Chron wrote: You can get by reusing a class name, but it's a PITA. I had a model named Filter, then upgraded Rails at one point, and all sorts of ugly conflicts occurred since the new version of Rails included a

Re: [Rails] how to display error messages for a child resource that failed validation

2010-04-23 Thread Matthew Hillsborough
Michael, Thank you for this, I will try it right away. Mind if I ask where the best place to put this code in as a best practice for Rails? Matthew On Fri, Apr 23, 2010 at 5:49 AM, Michael Pavling pavl...@gmail.com wrote: On 23 April 2010 01:23, Matthew Hillsborough

[Rails] Re: Rails internals ?.

2010-04-23 Thread Marnen Laibow-Koser
Ar Chron wrote: Dani Dani wrote: Thanky you both Marnen Anubhaw. I did run the depot example application and even used debugger to see things from inside, but still felt like someone who types in what he was told. The feeling is still there, if I had to do it myself, there are things I

[Rails] session[:foo] size limit?

2010-04-23 Thread Hans Hartmann
Hi there, i want to store an array of filenames in a session-variable (session[:foo). The problem is: if it reaches a current number of entries the application breaks. Is there a storage-limit of session-variables? Is it possible to extend it? Is there an alternative to store large

Re: [Rails] Re: Rails 3 associations extra attributes with lazy loading

2010-04-23 Thread tommy xiao
hi,Will can you use gist to provide more code? it is examine your code. 2010/4/23 tommy xiao xia...@gmail.com interest topic. in console, use to_sql to represent SQL, Maybe found more hits. 2010/4/23 Will Prater dataf...@gmail.com More observations I've found. The Arel includes method

[Rails] Re: session[:foo] size limit?

2010-04-23 Thread Frederick Cheung
On Apr 23, 3:12 pm, Hans Hartmann li...@ruby-forum.com wrote: Hi there, i want to store an array of filenames in a session-variable (session[:foo). The problem is: if it reaches a current number of entries the application breaks. Is there a storage-limit of session-variables? Is it

[Rails] Data relationships for a World Cup Football App

2010-04-23 Thread bingo bob
how would I map relationships for world cup football matches. Currently in my app I have Countries, that's it, all 32 competing nations are represented, with flags and details working great. I'd like to introduce two new models (Match and Stadium). A football match is obviously between two

Re: [Rails] Re: Ubuntu Linux Editor / Prettiefier

2010-04-23 Thread Vladimir Rybas
1) Move the cursor to the start of the text you want to select. 2) Set a starting mark using Ctrl + Space. 3) Move the cursor to the end of the text you want to select. 4) Copy the text using Alt + w, or cut the text using Ctrl + w. 5) Move the cursor to wherever. 6) Ctrl + y to paste.

[Rails] Re: session[:foo] size limit?

2010-04-23 Thread Hans Hartmann
Do you mean something like storing the entries temporarly in a database with action:create and delete them when not needed anymore? ... I think thats pretty much confusing to store. Isn't there a possability to many strings/arrays (checkbox_values) in a variable? How can I change the session

[Rails] Profile comments creation issue

2010-04-23 Thread Babos Catalin
Got a social network going on and I want users to comment on each others profiles. If you guys are so kind and point me to some tutorials or examples. Been searching for two days now and nothing seems to work. Found this tutorial, but it doesn`t work for me :

[Rails] Re: puzzled by Mutex lock call ..

2010-04-23 Thread wbsurf...@yahoo.com
I basically have a job manager that runs with script/runner and is independent of the webserver. It allows DRB connections, TCP connections, and has a scheduling loop. Inside the scheduling loop is where the error sometimes happens which doesn't seem related to anything I did. I haven't

[Rails] Re: session[:foo] size limit?

2010-04-23 Thread Frederick Cheung
On Apr 23, 4:00 pm, Hans Hartmann li...@ruby-forum.com wrote: Do you mean something like storing the entries temporarly in a database with action:create and delete them when not needed anymore? ... I think thats pretty much confusing to store. Isn't there a possability to many

[Rails] participar do grupo de estudo ruby on rails

2010-04-23 Thread juvencio
Quero aprender ruby on rails -- 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-t...@googlegroups.com. To unsubscribe from this group, send email to

[Rails] Re: session[:foo] size limit?

2010-04-23 Thread Hans Hartmann
With a rails app generated by a recent version of rails you'll have an initializer called something like session.rb or session_store.rb in config/initializers that sets up the session I've got a rails app generated by a recent version of rails but no initializer caller session.rb ... not even

[Rails] Re: puzzled by Mutex lock call ..

2010-04-23 Thread wbsurf...@yahoo.com
I basically have a job manager that runs with script/runner and is independent of the webserver. It allows DRB connections, TCP connections, and has a scheduling loop. Inside the scheduling loop is where the error sometimes happens which doesn't seem related to anything I did. I haven't

Re: [Rails] Re: Ubuntu Linux Editor / Prettiefier

2010-04-23 Thread Greg Donald
On Fri, Apr 23, 2010 at 9:42 AM, Vladimir Rybas vladimirry...@gmail.com wrote: The guy mean he could do it in NetBeans with one single move. Select text and Ctrl+Alt+Down, Down, Down for three copies. That doesn't look like a single move to me. *shrug* -- Greg Donald destiney.com |

[Rails] Re: puzzled by Mutex lock call ..

2010-04-23 Thread Frederick Cheung
On Apr 22, 10:08 pm, Jedrin jrubia...@gmail.com wrote: I do �...@mutex = Mutex.new and then @mutex.lock .. @mutex.unlock There's clearly something else going on. Can you reduce the code with the problem to a small sample you can post in its entirety ? What is the ActiveJob model and

[Rails] rails-3.0.0.beta3 install error on ri 'lib' ENOENT

2010-04-23 Thread Mike
Hi, I was getting an odd error installing rails-3.0.0.beta3 on a fresh Ubuntu 10.04 install. The same exact error was occurring on my Ubuntu 9.10 install, so I'm sure it isn't something specific to the Ubuntu version (nor beta for that matter). This is the error: m...@ubuntu:~/rubygems-1.3.6$

Re: [Rails] Logging in Production on Network Solutions

2010-04-23 Thread Colin Law
On 23 April 2010 13:48, jrq jerry.quart...@gmail.com wrote: Network Solutions is really beginning to try my patience.   Can anyone help me with get logs to work in a Production environment hosted on Network Solutions? I've edited envionment.rb to include config.log_level = :debug, restarted

[Rails] Stop printing style with auto_complete

2010-04-23 Thread rtacconi
auto_complete prints the style just near the input box but the XHTML does not validates. Is there a way to stop autocomple printing the style code and move into the CSS file? Thanks. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post

Re: [Rails] Rails internals ?.

2010-04-23 Thread Colin Law
On 23 April 2010 12:43, Dani Dani li...@ruby-forum.com wrote: Hi. I'm new to ROR, I bought the book Agile Web Development with Rails, Third Edition and followed the depot example. I still can't imagine me developing a rails application after that. There are many things that are not explained,

[Rails] Using AWS RDS with Rails

2010-04-23 Thread Yudi Soesanto
Guys, Could you give pointer how I can use AWS RDS with rails? Is there any plugins to accomplish this? Thank you for you help. Yudi -- 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

[Rails] Ordering by associated columns (pleeease help)

2010-04-23 Thread Sumeet Panchal
Hi, I am stuck pretty bad please help. any comment is helpful. I have say three models Customer(fields are id, name, cell_phone, primary_address_id) belongs_to :primary_address, :class_name = 'CustomerAddress', :foreign_key = 'primary_address_id' has_many :customer_addresses end

[Rails] Best way to handle multiple tables to replace one big table?

2010-04-23 Thread Mike P.
Hello, I've decided to use multiple tables for an entity (e.g. todo_items1, todo_items2, todo_items3, etc.), instead of just one main table which could end up having a lot of rows (e.g. just todo_items). I'm doing this to try and to avoid a potential future performance drop that could come with

[Rails] Re: Ordering by associated columns (pleeease help)

2010-04-23 Thread Anubhaw Prakash
Sumeet Panchal wrote: Hi, I am stuck pretty bad please help. any comment is helpful. I have say three models Customer(fields are id, name, cell_phone, primary_address_id) belongs_to :primary_address, :class_name = 'CustomerAddress', :foreign_key = 'primary_address_id' has_many

[Rails] Re: Best way to handle multiple tables to replace one big ta

2010-04-23 Thread Robert Walker
Mike P. wrote: Hello, I've decided to use multiple tables for an entity (e.g. todo_items1, todo_items2, todo_items3, etc.), instead of just one main table which could end up having a lot of rows (e.g. just todo_items). I'm doing this to try and to avoid a potential future performance drop

[Rails] Re: Rails 3 associations extra attributes with lazy loading

2010-04-23 Thread Will Prater
Hi, Sure, here is the schema, and model files. Let me know what you think. Why can't I get the :select to work when using .includes. In the console examples below, you can see the pay_rate and bill_rate are not present in the example using .includes. Schema

Re: [Rails] Heroku deployment...

2010-04-23 Thread shyam mohan
Hi anton effend thanks for reply... i tried this http://docs.heroku.com/keys please see this ...here I want to add public key ...heroku keys:add radiant.pub Uploading ssh public key radiant.pub [r...@fl2 heroku_radiant]# git push heroku master Permission denied (publickey).

[Rails] LOGIN INTO YAHOO - - - RAILS

2010-04-23 Thread kevid
hi all, Is there a way to login to yahoo programatically from my controller? thus the user (WITHOUT SEEING THE YAHOO LOGIN PAGE) would just be logged into yahoo having provided username and password ? thoughts ?? -- You received this message because you are subscribed to the Google Groups

Re: [Rails] LOGIN INTO YAHOO - - - RAILS

2010-04-23 Thread Joshua Martin
http://developer.yahoo.com/auth/ On Fri, Apr 23, 2010 at 2:38 PM, kevid alumsimport...@yahoo.ca wrote: hi all, Is there a way to login to yahoo programatically from my controller? thus the user (WITHOUT SEEING THE YAHOO LOGIN PAGE) would just be logged into yahoo having provided username

Re: [Rails] Heroku deployment...

2010-04-23 Thread anton effendi
please read http://stackoverflow.com/questions/1824759/git-push-heroku-master-permission-denied-on-vista and follow all step On Sat, Apr 24, 2010 at 1:28 AM, shyam mohan shyammohankano...@gmail.comwrote: Hi anton effend thanks for reply... i tried this http://docs.heroku.com/keys please

[Rails] boot.rb:4:in `require

2010-04-23 Thread viglu
Hello, I'm new to rails 3 beta 3 I create my first app with # rails firsttest then # rails s /home/luc/firsttest/config/boot.rb:4:in `require': no such file to load -- bundler (LoadError) from /home/luc/firsttest/config/boot.rb:4:in `top (required)' from script/rails:8:in

[Rails] Re: session[:foo] size limit?

2010-04-23 Thread Frederick Cheung
On Apr 23, 4:34 pm, Hans Hartmann li...@ruby-forum.com wrote: With a rails app generated by a recent version of rails you'll have an initializer called something like session.rb or session_store.rb in config/initializers that sets up the session I've got a rails app generated by a recent

[Rails] Re: Best way to handle multiple tables to replace one big ta

2010-04-23 Thread Mike P.
Robert Walker wrote: Mike P. wrote: Hello, I've decided to use multiple tables for an entity (e.g. todo_items1, todo_items2, todo_items3, etc.), instead of just one main table which could end up having a lot of rows (e.g. just todo_items). I'm doing this to try and to avoid a potential

[Rails] Re: Logging in Production on Network Solutions

2010-04-23 Thread jrq
Yes. There's nothing in the environments/production.rb that should affect it: # Settings specified here will take precedence over those in config/ environment.rb # The production environment is meant for finished, live apps. # Code is not reloaded between requests config.cache_classes = true #

Re: [Rails] Logging in Production on Network Solutions

2010-04-23 Thread Charles A. Lopez
may i ask what web server you're using? On 23 April 2010 08:48, jrq jerry.quart...@gmail.com wrote: Network Solutions is really beginning to try my patience. Can anyone help me with get logs to work in a Production environment hosted on Network Solutions? I've edited envionment.rb to

[Rails] Re: Logging in Production on Network Solutions

2010-04-23 Thread jrq
Apache/2.2.8 (Unix) / Phusion_Passenger/2.0.6 On Apr 23, 3:51 pm, Charles A. Lopez charlesalo...@gmail.com wrote: may i ask what web server you're using? On 23 April 2010 08:48, jrq jerry.quart...@gmail.com wrote: Network Solutions is really beginning to try my patience.   Can anyone

[Rails] Re: Logging in Production on Network Solutions

2010-04-23 Thread jrq
Apache/2.2.8 (Unix) / Phusion_Passenger/2.0.6 On Apr 23, 3:51 pm, Charles A. Lopez charlesalo...@gmail.com wrote: may i ask what web server you're using? On 23 April 2010 08:48, jrq jerry.quart...@gmail.com wrote: Network Solutions is really beginning to try my patience.   Can anyone

[Rails] Re: Best way to handle multiple tables to replace one big ta

2010-04-23 Thread Marnen Laibow-Koser
Mike P. wrote: Hello, I've decided to use multiple tables for an entity (e.g. todo_items1, todo_items2, todo_items3, etc.), instead of just one main table which could end up having a lot of rows (e.g. just todo_items). I'm doing this to try and to avoid a potential future performance drop

[Rails] Re: script/server not working, I can't setup my local environment.

2010-04-23 Thread Matt
I believe I do yes, I keep running rake gems:install and installing them individually and it still throws this error :( On Apr 23, 5:06 am, Frederick Cheung frederick.che...@gmail.com wrote: On Apr 23, 5:12 am, Matt matt7...@gmail.com wrote: Hey guys, I've been trying to get my local env

[Rails] Re: script/server not working, I can't setup my local environment.

2010-04-23 Thread Matt
Just as an update, when trying to install oauth_client by itself, it gives the error that it can't find the gem locally or in a repo On Apr 23, 5:06 am, Frederick Cheung frederick.che...@gmail.com wrote: On Apr 23, 5:12 am, Matt matt7...@gmail.com wrote: Hey guys, I've been trying to get

[Rails] Re: Rails internals ?.

2010-04-23 Thread Dani Dani
Thank you all. Why not use scaffold in production ? Dani -- 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 rubyonrails-t...@googlegroups.com. To unsubscribe

[Rails] Zoomable chart

2010-04-23 Thread Tig
Hi, I would like to create an interactive bubble chart from a Rails- based database. I've spent quite a lot of time browsing the posts both here and on rubyforums for similar queries, but haven't really found a definitive answer yet. I would like each point to be clickable, and would like users to

[Rails] Re: Rails internals ?.

2010-04-23 Thread Marnen Laibow-Koser
Dani Dani wrote: Thank you all. Why not use scaffold in production ? It's underpowered and inflexible. By the time you get to having a production-ready app, you will probably have customized or completely removed your scaffold. I tend not to use scaffolding even when I'm trying to quickly

[Rails] Re: Zoomable chart

2010-04-23 Thread Marnen Laibow-Koser
Tig wrote: Hi, I would like to create an interactive bubble chart from a Rails- based database. I've spent quite a lot of time browsing the posts both here and on rubyforums for similar queries, but haven't really found a definitive answer yet. I would like each point to be clickable, and

[Rails] link_to with resource routes in helper file?

2010-04-23 Thread Tim
Hey all! Any pointers on doing something like: link_to Comments, comments_path from within a helper file just like you can do from a view? Thanks in advance! -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send

[Rails] Re: link_to with resource routes in helper file?

2010-04-23 Thread Tim
sorry under rspec that is with rails 2.3.5 On Apr 23, 3:26 pm, Tim mcintyre@gmail.com wrote: Hey all! Any pointers on doing something like:   link_to Comments, comments_path from within a helper file just like you can do from a view? Thanks in advance! -- You received this

[Rails] Re: Best way to handle multiple tables to replace one big ta

2010-04-23 Thread Mike P.
Marnen Laibow-Koser wrote: Mike P. wrote: Hello, I've decided to use multiple tables for an entity (e.g. todo_items1, todo_items2, todo_items3, etc.), instead of just one main table which could end up having a lot of rows (e.g. just todo_items). I'm doing this to try and to avoid a

Re: [Rails] Using AWS RDS with Rails

2010-04-23 Thread Bill Walton
Hi Yudi, On Fri, Apr 23, 2010 at 11:59 AM, Yudi Soesanto soesa...@gmail.com wrote: Guys, Could you give pointer how I can use AWS RDS with rails? Is there any plugins to accomplish this? Assuming you've already got an RDS instance set up, all you need to do is modify your database.yml

[Rails] Re: Rails 3 associations extra attributes with lazy loading

2010-04-23 Thread Will Prater
I've fixed my issues. Should have been using joins vs includes as there was really no joins happening with eager loading. On Apr 23, 11:14 am, Will Prater dataf...@gmail.com wrote: Hi, Sure, here is the schema, and model files.  Let me know what you think.  Why can't I get the :select to

Re: [Rails] Using AWS RDS with Rails

2010-04-23 Thread Yudi Soesanto
Thanks for your reply Bill. I don't have RDS instance set up yet. I am blank about RDS stuff. Maybe, you could help me? Any documentation how to setup RDS instance? Thank You, Ys -Original Message- From: Bill Walton bwalton...@gmail.com Date: Fri, 23 Apr 2010 18:34:59 To:

[Rails] Re: Best way to handle multiple tables to replace one big ta

2010-04-23 Thread Marnen Laibow-Koser
Mike P. wrote: Marnen Laibow-Koser wrote: Mike P. wrote: Hello, I've decided to use multiple tables for an entity (e.g. todo_items1, todo_items2, todo_items3, etc.), instead of just one main table which could end up having a lot of rows (e.g. just todo_items). I'm doing this to try and to

[Rails] Rails3 + PostgreSQL

2010-04-23 Thread Greg Donald
Anyone know if Rails 3 supports PostgreSQL yet? I'm again trying on the latest beta, still not getting anything to work. I have every postgresql gem I can find installed: gem list --local|grep ^p pg (0.9.0) postgres (0.7.9.2008.01.28) postgres-pr (0.6.3) My database.yml entry: development:

[Rails] About your application's environment URL not found

2010-04-23 Thread Henry Oss
Hi I am a newbie (which you probably guessed from the subject) and have just installed ruby 1.8.7, rails 2.3.5 and apache 2.2.12 on ubuntu 9.10. I have created a rails app and edited my apache config as shown below. The Rails Welcome aboard page displays, but when I click on About your

[Rails] Re: link_to with resource routes in helper file?

2010-04-23 Thread Tim
sorry, my bad started working on a new app and it was including some bad juju:) On Apr 23, 4:04 pm, Tim mcintyre@gmail.com wrote: sorry under rspec that is with rails 2.3.5 On Apr 23, 3:26 pm, Tim mcintyre@gmail.com wrote: Hey all! Any pointers on doing something like:

[Rails] Re: About your application's environment URL not found

2010-04-23 Thread command0
Welcome to Rails. :) It all seems overwhelming at first, but it is quite easy to learn once you get your head around how Rails does things in contrast to other languages. So a couple thoughts. It sounds like you are running on a Linux distro. Ubuntu or Debian it appears from the Apache

[Rails] Re: About your application's environment URL not found

2010-04-23 Thread command0
Oh yes, I forgot to tell you how to disable the default site. From the shell run sudo a2dissite default. Then run your preferred editor, and create a new file in /etc/apache2/ sites-enabled, and name it whatever you want. I usually name it something similar to the domain name of the app or site.

Re: [Rails] Using AWS RDS with Rails

2010-04-23 Thread Bill Walton
Hi Yudi, On Fri, Apr 23, 2010 at 6:48 PM, Yudi Soesanto soesa...@gmail.com wrote: Thanks for your reply Bill. I don't have RDS instance set up yet. I am blank about RDS stuff. Maybe, you could help me? Any documentation how to setup RDS instance? The best recommendation I can give is to

[Rails] List time zones?

2010-04-23 Thread Morgan Morgan
Is there a way to list the time zones that rails makes available (it seems to function only on cities)? I figured out how to get that list at the command line in rake but i can't seem to get access to the list of available ones from within a rails app. -- Posted via http://www.ruby-forum.com/.

[Rails] help me pls:Tracking mails in rails

2010-04-23 Thread Tony Augustine
hai friends can anone help me to provide a way to implement the following using rails. i created a mail campaign application.if a user successfuly created a campaign he will be getting a mail. 1. how i can track that someone opens the mail? what i did is just pass some

[Rails] multiple view directories to achieve rails themes

2010-04-23 Thread rails.n...@gmail.com
Hi I'd like to have various themes for my site that cannot be achieved by changing the CSS or anything else. So my directory structure might look like this: app \ views - \ users \ blogs - \ THEME2 - \ users \ blogs (where the two users