[Rails] Re: "rm public/index.html not recognized."

2013-04-10 Thread Hutch C.
Thanks Jan - ran into same problem. 'del' for windows (vs. 'rm'), and the cd to 'public' did the trick. Very helpful. Jan V. wrote in post #1087171: > You need to "cd public" then "del index.html" windows always have > problems with path :D -- Posted via http://www.ruby-forum.com/. -- You re

[Rails] When we have a rails beta2 or rc1?

2013-04-10 Thread Sadjow Leão
When we have a rails beta2 or rc1? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, s

Re: [Rails] button_link_to with :target _blank ?

2013-04-10 Thread Ricardo Franco
I guess you should put the :target param outside the helper admin_order_path. This way: <%= button_link_to t("#{button}_print"), spree.admin_order_path(@order, :pdf, :template => button), :target => '_blank' %> 2013/4/10 Erwin > I am trying to display the generated pdf in another web browser w

[Rails] Re: Per form field_error_proc

2013-04-10 Thread Frederick Cheung
On Wednesday, April 10, 2013 9:53:01 AM UTC+1, Lukáš Doležal wrote: > > Hi everybody, > > I needed change field error rendering for some forms created with Rail's > form builder. I found solution by changing ActionView::Base::field_error_ > proc to own before form and changing it back after form

[Rails] Re: Help me the error after replace sqlite3 by using MongoDb and MongoId

2013-04-10 Thread haxuan lac
Thanks Norbert Melzer I read railscast 238(mongoid) If I use command line: rails g mongoid:config then in my project have 2 DB :sqlite3+mongoDB And I see data after insert then save in MongoDB If I using both sqlite3+mongoDB above ,please tell me about my program have error with process data aft

[Rails] Re: button_link_to with :target _blank ?

2013-04-10 Thread Erwin
sorry I guess wrong group, should be Spree group Le mercredi 10 avril 2013 19:05:48 UTC+2, Erwin a écrit : > > I am trying to display the generated pdf in another web browser window, > I am using : > > <%= button_link_to t("#{button}_print"), spree.admin_order_path(@order, > :pdf, :template =>

[Rails] button_link_to with :target _blank ?

2013-04-10 Thread Erwin
I am trying to display the generated pdf in another web browser window, I am using : <%= button_link_to t("#{button}_print"), spree.admin_order_path(@order, :pdf, :template => button, :target => '_blank') %> but it's always displayed in the same current web window , where am I wrong ? thank

[Rails] Re: yaml not escaping break line in double quoted string

2013-04-10 Thread Erwin
yes, thanks it's going to be displayed on a web page Le mercredi 10 avril 2013 15:36:07 UTC+2, jsnark a écrit : > > You did not say how this is being displayed. If it is being displayed on > a web page, new lines are always discarded. You need to use '' > instead of '\n'. > > On Wednesda

Re: [Rails] Help me the error after replace sqlite3 by using MongoDb and MongoId

2013-04-10 Thread Norbert Melzer
It isn't enough just to change the gems, you also have to alter the database configuration to be found at config/database.yml. Please check Mongo manual for further details. Am 10.04.2013 17:31 schrieb "haxuan lac" : > I want use MongoDB same as database of Project. > I delete gem "sqlite3" and co

[Rails] Help me the error after replace sqlite3 by using MongoDb and MongoId

2013-04-10 Thread haxuan lac
I want use MongoDB same as database of Project. I delete gem "sqlite3" and copied 2 gem: gem "mongoid", "~> 3.0.0" gem 'bson_ext' then had error : in `block in replace_gem': Please install the sqlite3 adapter: `gem install activerecord-sqlite3-adapter` (sqlite3 is not part of the bundle. Add it to

[Rails] Re: yaml not escaping break line in double quoted string

2013-04-10 Thread jsnark
You did not say how this is being displayed. If it is being displayed on a web page, new lines are always discarded. You need to use '' instead of '\n'. On Wednesday, April 10, 2013 4:29:11 AM UTC-4, Erwin wrote: > > it's weird, as yaml doc stating it should work : > > en: >> site_under_main

[Rails] Regarding Uploading & Editing & Saving Docments In a Rails Application !

2013-04-10 Thread saikiran mothe
Hi, i am working on Application ! I am uploading Word Document with *Paperclip* to the application.File is saved in *Public/. I want edit that document in a Rails Application.*I want save it back to application. Is there chance to do this ? What are gems are helpful for this *integration*. T

[Rails] Re: Getting Started

2013-04-10 Thread Frederick Cheung
On Tuesday, April 9, 2013 4:04:47 PM UTC+1, John Gagon wrote: > > So far I'm disappointed with what I see as red flags. I follow along what > seems like foolproof instructions. I install everything, rails new > /some/new/app cd to the directory and rails server and my worst fears > cryptic

[Rails] Per form field_error_proc

2013-04-10 Thread Lukáš Doležal
Hi everybody, I needed change field error rendering for some forms created with Rail's form builder. I found solution by changing ActionView::Base::field_error_ proc to own before form and changing it back after form rendered. I don't like this solution :) It's not thread-safe (but it's not so

[Rails] GSOC 2013 project - Web-based console

2013-04-10 Thread Michal Pokorný
Hello. My name is Michal Pokorný and I'm a computer science student from Czech Republic. I would like to apply for this year's Google Summer of Code, and since I like Ruby, Rails looks like a good project to contribute to. The web-based console idea from the ideas page seems really nice. The id

[Rails] Gsoc

2013-04-10 Thread Amit Mishra
Hey Your agenda for GSOC-2013 seemed quite abstract to me. I'll be glad if i can get more insights about your agenda. Cheers, AMIT -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails

[Rails] Regarding Uploading & Editing & Saving Docments In a Rails Application !

2013-04-10 Thread saikiran mothe
Hi, i am working on Application ! I am uploading Word Document with *Paperclip* to the application.File is saved in *Public/. I want edit that document in a Rails Application.*I want save it back to application. Is there chance to do this ? What are gems are helpful for this *integration*. T

[Rails] Extra characters rendered in view that cannot be found! A possible bug in rendering engine?

2013-04-10 Thread Hans
Hi I have a very strange error when rendering the index view Rails is rendering the characters *us* at the bottom of the screen, below an index table, and I cannot find these characters in the view. This part of the view looks like

[Rails] yaml not escaping break line in double quoted string

2013-04-10 Thread Erwin
it's weird, as yaml doc stating it should work : en: > site_under_maintenance_message: "We are sorry,\n this site is currently > under maintenance, please try later..." should display as : We are sorry, > this site is currently under maintenance, please try later... but it's displayed as a