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
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
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
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
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
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 =>
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
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
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
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
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
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
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
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
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
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
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
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
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
19 matches
Mail list logo