[Rails] Re: Web hosting for ruby on rails application
In the cheaper VPS I would recommend Webbynode http://webbynode.com/ , you can go bigger but the low end is pretty good to start off with form most small business web-apps. And it's a VPS so you can install whatever you want -- they also have pre-build recipes for Rails 3 and other platforms which takes some of the setup pain away. I would also second Linode for VPS as well. Heroku is good if you only ever get one request at a time for your app, which in most cases is good enough, but still very minimal -- and unless you are (and maybe you are) a big pocketed startup that doesn't care about burning money, scaling up on Heroku is probably one of the easiest things. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/lXGoTkIgq1UJ. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: Unit Testing getting me confused, not able to make test respond like application, where application is correct.
Interesting, I thought I had to do a *collections(:one).find* for it to be taken out of the database, according to the documentation... but i did notice, and my next question was going to be, why do I get an error when doing the *find* method in the test? 1. So, I guess it is not true that in order to get the values from the fixture you do this: collections(:one) ? 2. And in order to get the values from the db you do this instead: collections(:one).find ? -- 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@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: Unit Testing getting me confused, not able to make test respond like application, where application is correct.
For example this is the documentation at: http://guides.rubyonrails.org/testing.html#the-low-down-on-fixtures # this will return the Hash for the fixture named david users(:david) # using the find method, we grab the real david as a User david = users(:david).find -- 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@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: Unit Testing getting me confused, not able to make test respond like application, where application is correct.
OK i think I fixed it by doing this instead: test should not save with duplicate name property do c = *Collection.new(collections(:one))* assert !c.save, 'Saved a collection with a duplicate name' end -- 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@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Unit Testing getting me confused, not able to make test respond like application, where application is correct.
I have a few test cases, using unit test, I am new to testing but I don't understand why, if fixtures are loaded and validations are in place (in my case, I am testing that identical objects should not be saved to the database) -- and I know that it works, because doing the test through the UI gives the right behavious, but the test does not behave as the actual application does, and should... TEST REPORT: 2) Failure: test_should_have_loaded_this_fixture_item_into_the_test_database_already(CollectionTest) [test/unit/collection_test.rb:16]: Should not be valid 3) Failure: test_should_not_save_with_duplicate_name_property(CollectionTest) [test/unit/collection_test.rb:11]: Saved a collection with a duplicate name TEST CODE: test should not save with duplicate name property do c = collections(:one) assert !c.save, 'Saved a collection with a duplicate name' end test should have loaded this fixture item into the test database already do c = collections(:one) assert !c.valid?, 'Should not be valid' assert c.save, 'Did not save first item' c2 = collections(:one) assert_equal c, c2, Two items are not equal assert !c2.save, 'Saved duplicate item as well' end -- 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@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Re: [Rails] validates_format_of :phone with = /^\([0-9]{3}\)[-. ]?[0-9]{3}[-. ]?[0-9]{4}|^[0-9]{3}[-. ]?[0-9]{3}[-. ]?[0-9]{4}$/
I've gone through about a couple of hours of building it up and tearing it down, I need someone else's brain on this one please... -- 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@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Re: [Rails] validates_format_of :phone with = /^\([0-9]{3}\)[-. ]?[0-9]{3}[-. ]?[0-9]{4}|^[0-9]{3}[-. ]?[0-9]{3}[-. ]?[0-9]{4}$/
To be a bit more clear about how I see the problem: as I said earlier, http://www.rubular.com/ validates the correctness of the expression, I've tried similar expressions in JS parsers, .NET parsers, Python parsers, they all pass, I think it's the rails parsers that fails, and/or something about the validates with that doesn't like the parenthesis... can someone prove me wrong? Please? -- 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@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: Simple Facebook integration
You might just want to see what Facebook's 'like' button does, but I don't know how this is a Rails questions. Unless you use Rails to fill in the parameter for the like button's message that Facebook then uses to fill in the user's wall with... -- 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@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: mysql gem problems
if you're on a mac, get homebrew, then type in your terminal brew install mysql -- 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@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Re: [Rails] validates_format_of :phone with = /^\([0-9]{3}\)[-. ]?[0-9]{3}[-. ]?[0-9]{4}|^[0-9]{3}[-. ]?[0-9]{3}[-. ]?[0-9]{4}$/
I have tested a simpler version and noticed this: ruby-1.9.2-p136 :010 /^\(?[0-9]{3}\)?[-. ]?[0-9]{3}[-. ]?[0-9]{4}$/ =~ 1234567890 = 0 ruby-1.9.2-p136 :011 /^\(?[0-9]{3}\)?[-. ]?[0-9]{3}[-. ]?[0-9]{4}$/ =~ (123)4567890 = 0 ruby-1.9.2-p136 :012 /^\(?[0-9]{3}\)?[-. ]?[0-9]{3}[-. ]?[0-9]{4}$/ =~ (123) 456-7890 = 0 ruby-1.9.2-p136 :013 /^\(?[0-9]{3}\)?[-. ]?[0-9]{3}[-. ]?[0-9]{4}$/ =~ (123)3456-7890 = nil ruby-1.9.2-p136 :014 /^\(?[0-9]{3}\)?[-. ]?[0-9]{3}[-. ]?[0-9]{4}$/ =~ (123)-456-7890 = 0 ruby-1.9.2-p136 :015 /^\(?[0-9]{3}\)?[-. ]?[0-9]{3}[-. ]?[0-9]{4}$/ =~ (123) 456-7890 smurf = nil ruby-1.9.2-p136 :016 does 0 mean pass? And is then the validated_with not accepting 0 as a pass? -- 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@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Re: [Rails] validates_format_of :phone with = /^\([0-9]{3}\)[-. ]?[0-9]{3}[-. ]?[0-9]{4}|^[0-9]{3}[-. ]?[0-9]{3}[-. ]?[0-9]{4}$/
Bah! Much ado about nothing, I'm pretty sure now that the problem is that the database record only accepts integers for the phone column. I just checked the schema file, should have done that much earlier! -- 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@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Re: [Rails] validates_format_of :phone with = /^\([0-9]{3}\)[-. ]?[0-9]{3}[-. ]?[0-9]{4}|^[0-9]{3}[-. ]?[0-9]{3}[-. ]?[0-9]{4}$/
I do wish there was a different error message/exception raised if something like this happened rather than a failed validation, since validations ca be written to be independent of db column types and therefore not a reflection of what is acceptable to the database... -- 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@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: Which editor to use
If you want and IDE go with RubyMine, hands down best ruby IDE ever. If you just want to keep it simple (sic) use vim... -- 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@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] validates_format_of :phone with = /^\([0-9]{3}\)[-. ]?[0-9]{3}[-. ]?[0-9]{4}|^[0-9]{3}[-. ]?[0-9]{3}[-. ]?[0-9]{4}$/
Why doesn't this phone validation work? validates_format_of :phone, :with = /^\([0-9]{3}\)[-. ]?[0-9]{3}[-. ]?[0-9]{4}|^[0-9]{3}[-. ]?[0-9]{3}[-. ]?[0-9]{4}$/, :message = is not a phone number tested with (123) 456 7890 testing it here does work: http://www.rubular.com/ but in a rails app, it fails validation except for 1234567890 -- 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@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Re: [Rails] Re: including a module in my model rails 3
I am having the same issue... -- 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@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: Good Linux Distro for Rails 3?
Sounds too strange to me... I think you could just ignore the built in package managers and download and install your gems, rvm and whatever else from github and the gem package manager. Forget about ubuntu or fedoras packages... Victor On Jul 3, 7:43 am, Kenneth li...@ruby-forum.com wrote: But I very much dislike ubuntu for rails. I tried it before and everything just did not work out. Too many files were named weirdly and I just did not want to deal with renaming or symlinking. I stuck with CentOS 5.5 (also works with Fedora 13) and compiled ruby 1.9.2 from source (preview3, but the RC just came out) and then downloaded rubygems 1.3.7 and compiled that as well. I never got RVM to work with it though... -- Posted viahttp://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, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: Reposted from Superuser - Installing Ruby on Rails on Ubuntu 10.04: A Living Nightmare
I would strongly suggest you look into rvm to manage your ruby/rails environments. But you might also want to install gem as your own user as opposed to root. The new gems will be kept somewhere in your home directory. - Victor On Jun 30, 1:03 pm, emptyset empty...@gmail.com wrote: I'm reposting this here from my original post on Superuser[1], to hopefully get more relevant feedback from more experienced RoR users. I need to get a RoR environment up and running, because I have a client that needs some RoR work done on her website. Although I'm new to RoR, I'm a quick learner and was expecting installing and setting up the environment was easy, so I could focus my effort on site development. I've already spent five days trying to get the environment up so I could just begin working. I'll probably have follow up questions to this group (seems I can't get script/server to work at all) - but for now, this is the immediate concern. Update #3: Starting over from scratch, shortened this post, decided to re-install a clean copy of Ubuntu 10.04 on a VM and go through the walk-through[0] again. So, all the steps go without a hitch. As root: r...@ubuntu:~/rubygems-1.3.7# ruby -v ruby1.8.7(2010-01-10 patchlevel 249) [x86_64-linux] r...@ubuntu:~/rubygems-1.3.7# gem -v 1.3.7 r...@ubuntu:~/rubygems-1.3.7# rails -v Rails 2.3.8 Now, as myself (in a separate term): empty...@ubuntu:~$ ruby -v ruby1.8.7(2010-01-10 patchlevel 249) [x86_64-linux] empty...@ubuntu:~$ gem -v /usr/local/lib/site_ruby/1.8/rubygems.rb:10:in `require': no such file to load -- rubygems/defaults (LoadError) from /usr/local/lib/site_ruby/1.8/rubygems.rb:10 from /usr/local/bin/gem:8:in `require' from /usr/local/bin/gem:8 empty...@ubuntu:~$ rails -v bash: /usr/bin/rails: Permission denied So, this appears to be a permissions issue, but I don't understand why. Specifically, if I have to start making things go+rx all over the place, I really need to understand which specific files need the permissions change. Site references: [0]http://castilho.biz/blog/2010/05/08/how-to-install-ruby-on-rails-on-u... [1]http://superuser.com/questions/156498/installing-ruby-on-rails-on-ubu... -- 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 rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: MySQL not Connected ...... *pull hair*
Sure get a Mac ;) No but seriously first there's no reason why your app should be in the www folder the only thing you want to expose to the world is he public folder and you can do that by simlinking I don't know what the equivalent is on windows well I don't know why anyone does web dev on a non unix Linux environnment but I've seen weirder things... Also you'll need phusion passenger to get your ruby working with apache. If you want a prepackaged server stack look into http://bitnami.org/ I got them working on my win 7 box of failure (does my bias come through ?) but before you do all that you should know that you don't need a separate server to develop your ruby rails app. Rails come with it's own server you can use while developing... Cheers Victor On Jul 2, 11:42 am, Dave Digital li...@ruby-forum.com wrote: I'm trying to run rake db:migrate and im getting an error back: C:\wamp\www\demoprojectrake db:migrate (in C:/wamp/www/demoproject) rake aborted! Mysql::Error: query: not connected: CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB (See full trace by running task with --trace) Something is definitely wrong because when I try to run script/dbconsole i get an error also C:\wamp\www\demoprojectruby script/dbconsole Couldn't find database client: mysql, mysql5. Check your $PATH and try again. I have been fighting to get RoR installed for almost 2 weeks and my patience and time is running low. This is as bad as when I first installed apache, mysql and php on my system 7 years ago. I would gladly pay for an installer that just made everything work! -- Posted viahttp://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, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: Updating Bill To: fields to Ship To:
By using JavaScript... On Jul 1, 4:44 pm, InventoryTrackers inventorytrack...@gmail.com wrote: You've all seen that shopping carts have a checkbox that automatically moves the Bill To: fields (such as name, phone number, etc) across to the Ship To: fields. How would you approach this in Rails? Thank you -- 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 rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: MySQL not Connected ...... *pull hair*
Also as someone mentioned already. You want to keep an eye on the mysqlserver socket... But if your just working on local to develop screw mysql use sqlite3 and just use mysql on production... Which hopefully is not an iis server... On Jul 2, 11:42 am, Dave Digital li...@ruby-forum.com wrote: I'm trying to run rake db:migrate and im getting an error back: C:\wamp\www\demoprojectrake db:migrate (in C:/wamp/www/demoproject) rake aborted! Mysql::Error: query: not connected: CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB (See full trace by running task with --trace) Something is definitely wrong because when I try to run script/dbconsole i get an error also C:\wamp\www\demoprojectruby script/dbconsole Couldn't find database client: mysql, mysql5. Check your $PATH and try again. I have been fighting to get RoR installed for almost 2 weeks and my patience and time is running low. This is as bad as when I first installed apache, mysql and php on my system 7 years ago. I would gladly pay for an installer that just made everything work! -- Posted viahttp://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, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: deploy: First Rails App to shared server
Yes :) the error message tells you exactly what you have to do, just like Lake did. On Jun 29, 1:33 pm, Lake Denman lden...@gmail.com wrote: Well, it looks like you're using rails 2.2.3 in your config/ environment.rb file. You can either update that version number in the environment.rb file to match 2.3.8, the rails version you say you have installed on your host, and deploy. Or gem install -v=2.2.3 rails on your server and hope for the best. :) good luck, Lake On Jun 29, 12:43 am, Ali Imran ali.imran.r...@gmail.com wrote: I follow all the steps and got this error The application has exited during startup (i.e. during the evaluation of config/environment.rb). The error message can be found below. To solve this problem, please follow any instructions in the error message. Error message: Missing the Rails 2.2.3 gem. Please `gem install -v=2.2.3 rails`, update your RAILS_GEM_VERSION setting in config/environment.rb for the Rails version you do have installed, or comment out RAILS_GEM_VERSION to use the latest version installed. Application root: /home/realhotr/demo On Jun 28, 8:36 pm, Victor S victor.s...@gmail.com wrote: If you go to google. you can type: site5 rails deploy and the first hit you get is the answer... Did you try to do what that post sais? Also try to be perceptive of any minute differences in your environment or how you might like to make things work for you better... you don't have or if the info is a bit outdate, be following things strictly, try to adapt the tutorial to what you need. Let me know if the tutorial doesn't do it for you still. - V On Jun 28, 4:34 pm, Ali Imran ali.imran.r...@gmail.com wrote: thanks for the reply. I read the completely link you send me. and i also looked at the site5.com forum and still looking at it but did not find any help to deploy the application . I tried all the ways i know... On Jun 27, 11:33 pm, Victor S victor.s...@gmail.com wrote: I deployed on Site5, so it's possible :) Search their bulletin board for a tutorial, i can't remember the link off hand, if you have trouble let me know. If you are developing locally you don't need apache, just go to your app in the terminal and say$ script/server This is a pretty good getting started guide:http://guides.rubyonrails.org/getting_started.html But anyway... check the Site5 forum it worked for me, you can try using the cpanel to start off your rails app, and it will setup a subdomain for you. if your get that app working, replace the contents of the folder with your own... I ssh'ed into site5 and linked the folder created by the cpanel wizard to my own rails 'public' folder outside the www folder, if i remember correctly. Theres no need for your rails app to be available to apache. Then you probably want to look into theirpassengerserver restart method... where you're supposed to make a file called restart.txt or something, and put it somewhere, I can't remember exactly I think I moved it from the default location... again, the forums are a good resource :) -- then you just ssh again and unix touch it and bam the server restarts you might not want this file to be in the www folder either ;) Good luck, - V On Jun 26, 11:28 pm, Ali Imran ali.imran.r...@gmail.com wrote: I install locally apache2.. and i have two hosting accounts i can use any one ... i have one with site5.com and other one is godaddy.com... what step i need to take now please help me ... its driving me crazy.. On Jun 26, 12:02 pm, murali dhararao sumud...@gmail.com wrote: Hi , Did you deployed application on apache server? is that is running locally? On Sat, Jun 26, 2010 at 3:37 AM, Ali Imran ali.imran.r...@gmail.com wrote: I installed ruby: 1.8.7 rails: 2.3.8 gems: 1.3.5 on the Ubuntu withpassenger 2.2.15 now i create the first demo application, i create a folder on home ruby-demo than i created a sites-available udo nano /etc/apache2/sites-available/demo VirtualHost *:80 ServerName mydomain.com ServerAliaswww.mydomain.com DocumentRoot /home/ruby/demo/public /VirtualHost i am looking for next step .. where to go from here and also please help me if i am doing these steps wrong i also run the demo project by apache2 server by placing application in /var/www and it works fine. but how i move to this my shared hosting server and run online Thanks -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email
[Rails] Re: PDFKIT Gem Example
Love the Ryan Bates railscasts... work of genius. On Jun 29, 1:19 pm, geolev geo...@gmail.com wrote: Ryan Bates did a Railscast on this yesterday. http://railscasts.com/episodes/220-pdfkit On Jun 18, 4:23 pm, Rails Learner li...@ruby-forum.com wrote: Hi Everybody, Can anyone give me a small working example of how to use PDFKIT to convert a view in rails app to pdf file? Any help is much appreciated! Thanks! -- Posted viahttp://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, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: Rails 3 api
Thanks, I was looking at the guides, but didn't know exactly what version it was updated for... thanks for the rails3 beta link! On Jun 28, 10:28 am, Fernando Brito em...@fernandobrito.com wrote: I also like this one:http://railsapi.com/doc/rails-v3.0.0.beta.3/ Please note that we are in beta4. There is also the Ruby on Rails Guides updated.http://guides.rails.info/ -- 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 rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Send form validation errors through redirect?
Hi, I'm new at this, how do I send the errors that one would get from a standard ruby scaffold generator on a form that is attempted to POST incorrectly? With all the beautiful formatting etc... Right now I have this: # POST /environments # POST /environments.xml def create @project = Project.find(params[:project_id]) # @environment = Environment.new(params[:environment]) @environment = @project.environments.create(params[:environment]) if @environment.save redirect_to project_path(@project), :notice = 'Saved' else redirect_to project_path(@project), :notice = 'Error' end And it works, but I only get what I define: Error, whereas I would like to get the explicit errors that the validators are catching... something like: (does not work) # POST /environments # POST /environments.xml def create @project = Project.find(params[:project_id]) # @environment = Environment.new(params[:environment]) @environment = @project.environments.create(params[:environment]) if @environment.save redirect_to project_path(@project), :notice = 'Saved' else rescue ActiveRecord::RecordInvalid = invalid @error = invalid.record.errors end redirect_to project_path(@project), :notice = @error end Any suggestions? -- 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 rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: deploy: First Rails App to shared server
If you go to google. you can type: site5 rails deploy and the first hit you get is the answer... Did you try to do what that post sais? Also try to be perceptive of any minute differences in your environment or how you might like to make things work for you better... you don't have or if the info is a bit outdate, be following things strictly, try to adapt the tutorial to what you need. Let me know if the tutorial doesn't do it for you still. - V On Jun 28, 4:34 pm, Ali Imran ali.imran.r...@gmail.com wrote: thanks for the reply. I read the completely link you send me. and i also looked at the site5.com forum and still looking at it but did not find any help to deploy the application . I tried all the ways i know... On Jun 27, 11:33 pm, Victor S victor.s...@gmail.com wrote: I deployed on Site5, so it's possible :) Search their bulletin board for a tutorial, i can't remember the link off hand, if you have trouble let me know. If you are developing locally you don't need apache, just go to your app in the terminal and say$ script/server This is a pretty good getting started guide:http://guides.rubyonrails.org/getting_started.html But anyway... check the Site5 forum it worked for me, you can try using the cpanel to start off your rails app, and it will setup a subdomain for you. if your get that app working, replace the contents of the folder with your own... I ssh'ed into site5 and linked the folder created by the cpanel wizard to my own rails 'public' folder outside the www folder, if i remember correctly. Theres no need for your rails app to be available to apache. Then you probably want to look into theirpassengerserver restart method... where you're supposed to make a file called restart.txt or something, and put it somewhere, I can't remember exactly I think I moved it from the default location... again, the forums are a good resource :) -- then you just ssh again and unix touch it and bam the server restarts you might not want this file to be in the www folder either ;) Good luck, - V On Jun 26, 11:28 pm, Ali Imran ali.imran.r...@gmail.com wrote: I install locally apache2.. and i have two hosting accounts i can use any one ... i have one with site5.com and other one is godaddy.com... what step i need to take now please help me ... its driving me crazy.. On Jun 26, 12:02 pm, murali dhararao sumud...@gmail.com wrote: Hi , Did you deployed application on apache server? is that is running locally? On Sat, Jun 26, 2010 at 3:37 AM, Ali Imran ali.imran.r...@gmail.com wrote: I installed ruby: 1.8.7 rails: 2.3.8 gems: 1.3.5 on the Ubuntu withpassenger 2.2.15 now i create the first demo application, i create a folder on home ruby-demo than i created a sites-available udo nano /etc/apache2/sites-available/demo VirtualHost *:80 ServerName mydomain.com ServerAliaswww.mydomain.com DocumentRoot /home/ruby/demo/public /VirtualHost i am looking for next step .. where to go from here and also please help me if i am doing these steps wrong i also run the demo project by apache2 server by placing application in /var/www and it works fine. but how i move to this my shared hosting server and run online Thanks -- 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 rubyonrails-talk+unsubscr...@googlegroups.comrubyonrails-talk%2Bunsubscrib e...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en. -- Thanks Regards, MuraliDharaRao.T +91-9642234646 -- 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 rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Rails layout generator not doing what the documentation sais it should be doing?
Hello, I've just started playing around with the Rails 3.0.0.beta and I came across some seemingly strange behaviour, where I expected: In previous versions of Rails, the rails generate scaffold command would automatically create a controller specific layout, like app/ views/layouts/posts.html.erb, for the posts controller. However this has been changed in Rails 3.0. A application specific layout is used for all the controllers and can be found in app/views/layouts/ application.html.erb. Open this layout in your editor and modify the body tag: -- http://guides.rails.info/getting_started.html ...but actually got the old behaviour, where a layout was generated for the specific controller... is this just some weirdness with my installation or has anyone else come across this? -- 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 rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: deploy: First Rails App to shared server
I deployed on Site5, so it's possible :) Search their bulletin board for a tutorial, i can't remember the link off hand, if you have trouble let me know. If you are developing locally you don't need apache, just go to your app in the terminal and say$ script/server This is a pretty good getting started guide: http://guides.rubyonrails.org/getting_started.html But anyway... check the Site5 forum it worked for me, you can try using the cpanel to start off your rails app, and it will setup a subdomain for you. if your get that app working, replace the contents of the folder with your own... I ssh'ed into site5 and linked the folder created by the cpanel wizard to my own rails 'public' folder outside the www folder, if i remember correctly. Theres no need for your rails app to be available to apache. Then you probably want to look into their passenger server restart method... where you're supposed to make a file called restart.txt or something, and put it somewhere, I can't remember exactly I think I moved it from the default location... again, the forums are a good resource :) -- then you just ssh again and unix touch it and bam the server restarts you might not want this file to be in the www folder either ;) Good luck, - V On Jun 26, 11:28 pm, Ali Imran ali.imran.r...@gmail.com wrote: I install locally apache2.. and i have two hosting accounts i can use any one ... i have one with site5.com and other one is godaddy.com... what step i need to take now please help me ... its driving me crazy.. On Jun 26, 12:02 pm, murali dhararao sumud...@gmail.com wrote: Hi , Did you deployed application on apache server? is that is running locally? On Sat, Jun 26, 2010 at 3:37 AM, Ali Imran ali.imran.r...@gmail.com wrote: I installed ruby: 1.8.7 rails: 2.3.8 gems: 1.3.5 on the Ubuntu with passenger 2.2.15 now i create the first demo application, i create a folder on home ruby-demo than i created a sites-available udo nano /etc/apache2/sites-available/demo VirtualHost *:80 ServerName mydomain.com ServerAliaswww.mydomain.com DocumentRoot /home/ruby/demo/public /VirtualHost i am looking for next step .. where to go from here and also please help me if i am doing these steps wrong i also run the demo project by apache2 server by placing application in /var/www and it works fine. but how i move to this my shared hosting server and run online Thanks -- 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 rubyonrails-talk+unsubscr...@googlegroups.comrubyonrails-talk%2Bunsubscrib e...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en. -- Thanks Regards, MuraliDharaRao.T +91-9642234646 -- 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 rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: deploy: First Rails App to shared server
PS, You can also try figuring out how to set up a git repo on that server and then checkout a copy beside it and make that copy your production, then on your local machine git checkout from the server through ssh and bam, you can make changes on the local version commit, push, go to remote git pull and there's your updated app, version controlled deployment, closest to heroku without the coolne$$ of heroku ;) On Jun 28, 1:33 am, Victor S victor.s...@gmail.com wrote: I deployed on Site5, so it's possible :) Search their bulletin board for a tutorial, i can't remember the link off hand, if you have trouble let me know. If you are developing locally you don't need apache, just go to your app in the terminal and say$ script/server This is a pretty good getting started guide:http://guides.rubyonrails.org/getting_started.html But anyway... check the Site5 forum it worked for me, you can try using the cpanel to start off your rails app, and it will setup a subdomain for you. if your get that app working, replace the contents of the folder with your own... I ssh'ed into site5 and linked the folder created by the cpanel wizard to my own rails 'public' folder outside the www folder, if i remember correctly. Theres no need for your rails app to be available to apache. Then you probably want to look into their passenger server restart method... where you're supposed to make a file called restart.txt or something, and put it somewhere, I can't remember exactly I think I moved it from the default location... again, the forums are a good resource :) -- then you just ssh again and unix touch it and bam the server restarts you might not want this file to be in the www folder either ;) Good luck, - V On Jun 26, 11:28 pm, Ali Imran ali.imran.r...@gmail.com wrote: I install locally apache2.. and i have two hosting accounts i can use any one ... i have one with site5.com and other one is godaddy.com... what step i need to take now please help me ... its driving me crazy.. On Jun 26, 12:02 pm, murali dhararao sumud...@gmail.com wrote: Hi , Did you deployed application on apache server? is that is running locally? On Sat, Jun 26, 2010 at 3:37 AM, Ali Imran ali.imran.r...@gmail.com wrote: I installed ruby: 1.8.7 rails: 2.3.8 gems: 1.3.5 on the Ubuntu with passenger 2.2.15 now i create the first demo application, i create a folder on home ruby-demo than i created a sites-available udo nano /etc/apache2/sites-available/demo VirtualHost *:80 ServerName mydomain.com ServerAliaswww.mydomain.com DocumentRoot /home/ruby/demo/public /VirtualHost i am looking for next step .. where to go from here and also please help me if i am doing these steps wrong i also run the demo project by apache2 server by placing application in /var/www and it works fine. but how i move to this my shared hosting server and run online Thanks -- 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 rubyonrails-talk+unsubscr...@googlegroups.comrubyonrails-talk%2Bunsubscrib e...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en. -- Thanks Regards, MuraliDharaRao.T +91-9642234646 -- 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 rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Rails 3 api
I'm being googledumb and just can't be sure to find the rails3.0.0.beta API's... anyone have a link? Also i read somewhere, I think the RVM gerbil told me, that I can generate my own api docs? Any quick hints? Thanks, - V -- 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 rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: Looking for Easy Rails hosting
With Heroku there's no git pull -- just push the code and it does everything else. The problem for me is that it wasn't that simple, the app didn't work. While in an environment like shared hosting (if were comparing low price things, Heroku has a small free option as well) I have control over the database, I don't get how heroku's databases work... I'll assume that through ActiveRecord it doesn't matter. But whatever, if you want to see what's in the database, Site5 gives you PhpMyAdmin, I don't know how you check what's in the database on Heroku. Site5 is shared hosting, not a VPS, right? If so, then the two aren't really comparable -- and Rails generally really wants a VPS. Well the question we are supposed to be answering here is what is easy rails hosting, not VPS vs shared. That's a whole other chapter. Site5 is shared, its easy. Its setup for you out of the box. That's all. - V On May 23, 10:08 am, Marnen Laibow-Koser li...@ruby-forum.com wrote: Victor Stan wrote: I'm sure its simple on average. For me, deploying on Site5 was simpler. I also use a blank repository from which i clone my production site next to it on the server and my dev site on my local machine through ssh. Same thing, git push, git pull, don't need heroku for that, too costly anyway unless you want to scale rapidly, which i don't. With Heroku there's no git pull -- just push the code and it does everything else. And no setup of the Rails environment -- it's done for you. I've done both (though other VPSs, not site5) quite often. Heroku really is simpler. I did, You did what? Please quote when replying so it's clear what you mean. maybe you can too: http://www.rackspacecloud.com/cloud_hosting_products/servers/pricing compare that to:http://www.site5.com/ Site5 is shared hosting, not a VPS, right? If so, then the two aren't really comparable -- and Rails generally really wants a VPS. Of course, first off, they both serve a different purpose and a different type of clientele. I wouldn't go for cloud computing just for the fun of it. Which is what I would do while I'm learning RoR... I wouldn't go for cloud computing for the fun of it either. The nice thing about Heroku and (I think) Rackspace Cloud is that they behave as if they're conventional servers. Best, -- Marnen Laibow-Koserhttp://www.marnen.org mar...@marnen.org -- Posted viahttp://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, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/rubyonrails-talk?hl=en. -- 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 rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: Would you recommend some books about Ruby on Rails?
I would recommend things by: The Pragmatic Bookshelf http://www.pragprog.com/titles Check out the Agile Web Development With Rails... On May 22, 12:21 pm, goodchoi good...@gmail.com wrote: Hi everybody~ Vey nice to meet you on this group. I'm a only web service planner operating a site http://topics.co.kr/categories?q=iphone developed by Ruby-on-Rails engineers through payment. But I'm trying to do study Ruby on Rails by myself from now on. By the way, some engineers in my country South Korea said the only book translated in Korean has wrong exercises now because Ruby on Rails is not any more version 1.x. So I should buy a book composed by exercise including exercises with version 2.x. First of all I hope this book [http://amzn.to/bshhvk] is like so(above) but I'm not sure. And then I hope you great engineers will recommend an appropriate book to me, a beginner. Thank you geeks. -- 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 rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/rubyonrails-talk?hl=en. -- 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 rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: Looking for Easy Rails hosting
I'm sure its simple on average. For me, deploying on Site5 was simpler. I also use a blank repository from which i clone my production site next to it on the server and my dev site on my local machine through ssh. Same thing, git push, git pull, don't need heroku for that, too costly anyway unless you want to scale rapidly, which i don't. I did, maybe you can too: http://www.rackspacecloud.com/cloud_hosting_products/servers/pricing compare that to: http://www.site5.com/ Of course, first off, they both serve a different purpose and a different type of clientele. I wouldn't go for cloud computing just for the fun of it. Which is what I would do while I'm learning RoR... On May 20, 9:29 pm, Marnen Laibow-Koser li...@ruby-forum.com wrote: Victor Stan wrote: [...] Heroku is supposed to be simple, but I found it more complicated than not. In what way? Git push, migrate, done. How much simpler do you want? Also cloud hosting is more expensive than 'classic' hosting unless you plan on being the next Facebook... Nope. Look at Rackspace Cloud's pricing and say that again with a straight face. - V Best, -- Marnen Laibow-Koserhttp://www.marnen.org mar...@marnen.org -- Posted viahttp://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, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/rubyonrails-talk?hl=en. -- 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 rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: Looking for Easy Rails hosting
I am hosting on Site5 and it was quite a simple process, some forum tutorial reading might be required if you aren't very familiar with passenger. I'm using git to synch between my production and local dev code and its a breeze... Heroku is supposed to be simple, but I found it more complicated than not. Also cloud hosting is more expensive than 'classic' hosting unless you plan on being the next Facebook... - V On May 20, 3:15 pm, Deon Silva li...@ruby-forum.com wrote: I would recommend webappcabaret.com. They have RAILS already setup to run on Mongrel, Passenger as well as Glassfish. Price start at $10 per month. And you are still able to use cPanel or Plesk for general website management. Mohammed Alenazi wrote: Hi I have registered for some paid rails hosting system that uses cpanel to deploy the rails apps. I could not deploy my app/ I tried several times with no success. Does any one know a good hosting company that provide guidelines or tutorial on how to deploy that rails apps on their servers? -- Posted viahttp://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, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/rubyonrails-talk?hl=en. -- 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 rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: New to web app development -- ROR pros and cons
If you really really have to use Windows look into cygwin, and bitnamy rubystack http://bitnami.org/stack/rubystack, also JetBrain's http://www.jetbrains.com/ruby/ or SublimeText. But if you can afford a Mac OS X laptop you will be on the same level as 99% of ruby developers... hey, it's what Linux always wanted to be (a usable desktop unix). That being said, I've tried working ZendFramework and I'm always on the lookout for what other frameworks and languages are doing, the only competition to Ruby on Rails I would say, is coming from Scala and Lift, but there's about 3 people using it right now (they are the developers)... most other options seem to completely miss the boat at what ruby is good at: sweet concise syntax and rails: a complete web- framework that will teach you how to develop proper web applications. Now, if you haven't done any web dev, (simple PHP sites?) then you will be a bit overwhelmed and you might not have a reference point for why Rails is a good framework in comparison to others... My 2C On May 7, 2:55 pm, Marnen Laibow-Koser li...@ruby-forum.com wrote: Anthony wrote: anyway if that's the option you choose. ;-) Is the main benefit of developing on a Unix based system that it will be easier to deploy, or are there other problems/limitations with development in a Windows environment? Windows is frankly a pretty bad OS (and a completely inappropriate server OS, which is a big strike against .NET unless you're using Mono). I don't use Windows myself, but my understanding is that while a number of people are successfully using it for Rails development, there are a lot of common Ruby- and Rails-related tasks that work better on *nix. I hope someone who does use Windows will provide more specifics. Best, -- Marnen Laibow-Koserhttp://www.marnen.org mar...@marnen.org -- Posted viahttp://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, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/rubyonrails-talk?hl=en. -- 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 rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: Intermediate level tutorials
This book is quite useful, you can just get the PDF version if you wish: http://www.pragprog.com/titles/rails3/agile-web-development-with-rails-third-edition This is a useful place to get info: http://guides.rubyonrails.org/ On Mar 31, 7:08 am, IanJ ian_johns...@pobox.com wrote: Hi I'm hoping somebody can suggest an intermediate level tutorial or point me in the right direction. I'm a moderately experienced programmer (20 + years off and on) but I'm really struggling to get to grips with Web/RoR development. I'm reasonably familiar with Python and am getting familiar with Ruby. Having just spent a whole day trying to get a button to call a method in a controller I'm clearly missing some fundamental knowledge. I've worked through a few of the many tutorials with few problems (wrong Rails version mostly) but they all seem pretty basic. On the otherhand discussions on here mostly seem to assume more than I know! So - any conversion tutorials out there for procedural, non-web developers? Thanks in advance Ian -- 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 rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: Most popular IDEs for Ruby on Rails development
Um, because it's not? Because its easy and fast? On Mar 12, 5:39 am, Michael Pavling pavl...@gmail.com wrote: Our , yes, but i prefer textmate, because windows is not os IDE ? Ruby? What the fuck ?) Go on then... in the sliding scale between hardcore text editors (Vi, Edlin, Emacs) and bloaty IDEs, how can people not consider Textmate to be closer to an IDE than a text editor? One of my colleagues at the moment is a Mac Fanboy, and spits and curses about IDEs and happily sits there batting away with Textmate and all its integrated syntax highlighting and autocomplete helpers... -- 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 rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: Fascism is coming to Internet
To be honest, the language sounds quite ambiguous... Things like knowing may not be as easy to define as you think... your example of Xerox 'knowing' that their machines are being used for copyright infringement doesn't cut it. To know is, in some manner, to be witness, if you have not seen it happen you can't know. You can believe that copyright infringement happens at Kinkos, but you don't necessarily know. I haven't read the whole things, but it sound like political speak so far: intentionally ambiguous to leave a lot of wiggle room... On Feb 23, 9:10 am, Joan Miller pelok...@gmail.com wrote: *Sorry by this off topic message, but this is too important* Fascism is coming fastly to Internet because is the only communication way that governements (managed by the bank and multinationals) cann't control http://www.boingboing.net/2010/02/21/acta-internet-enforc.html -- 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 rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.