Displaying 20 results from an estimated 7000 matches similar to: "Toto blog date issue - production only, localhost fine"
2010 Nov 15
2
How to add an exe to Rails app
I have been hacking around with this for a bit but want to see if there is
an easy way:
I am using Heroku and I have the wkhtmltopdf static binary in:
rails_root/vendor/wkhtmltopdf
I am not using any plug ins for wkhtmltopdf, just the executable, on purpose
and want to keep it this way.
My code wants to execute wkhtmltopdf:
# tell wkhtmltopdf to convert html file to pdf
2011 Jan 12
14
WickedPDF vs PDFKit vs. Prawn, etc.
Thoughts on using WickedPDF vs PDFKit vs. Prawn or others for developing
forms with dynamic content?
TIA,
Garrett Lancaster
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
2010 Aug 13
10
:limit text mysql
I have a rails 3.rc app that I''m developing. I have a text entry in one
my models that can sometimes be quite big. I tried setting :limit =>
4294967296 on the text column in my migration file but this doesn''t seem
to have any effect. The column is till created as a TEXT column rather
than MEDIUMTEXT or LONGTEXT.
Does anyone have any idea why this might be happening? Is there
2010 Oct 27
4
Anything special needed to migrate test::unit tests from Rails 2x to Rails3?
Looks like I''ve gotten my app upgraded successfully, at least in the
browser. When I ''rake test'' I get no love. I know I can start digging
through the Rails rake tasks, first want to see if anyone has an idea what
is going on:
DKMac:creditcompare3 DK$ rake test
(in /Users/DK/Documents/ror/projects/creditcompare3)
DKMac:creditcompare3 DK$
(requesting verbose fares just
2010 Aug 05
7
Search large XML file -- REXML slower than a slug, regex instantaneous
Got a question hopefully someone can answer -
I am working on functionality to match on certain nodes of a largish (65mb)
xml file. I implemented this with REXML and was 2 minutes and counting
before I killed the process. After this, I just opened the console and
loaded the file into a string and did a regex search for my data -- the
result was almost instantaneous.
The question is, if I can get
2010 Dec 22
8
Shoulda issue: no more "should have_instance_methods" ?
I''m using Shoulda.
After copying the code here....
.... http://joshuaclayton.github.com/code/2009/07/14/should-act-as-list.html....
into my test_helper file so I can test acts_as_list, I came across
issues. For one I realized I had to get rid of the _ between the
"should" and "have" in past cases, but here, I get this error when I
run my unit test:
2010 Dec 09
15
Rails 3 Active Record query returns "undefined method `loaded?' for #<Array:0x126a4c>"
I am getting this error on an rspec test:
undefined method `loaded?'' for #<Array:0x126a4c>
When I call:
Practice.includes("practice_members").all
Practice has_many :practice_members
PracticeMember belongs_to :practice
Practice.all returns:
[#<Practice id: 6, name: "Practice One", created_at: "2010-12-09 15:40:46",
updated_at: "2010-12-09
2010 Dec 05
14
Remove bundler
Can you remove bundler without any problem – for rails?
--
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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
2010 May 31
5
ActiveRecord model relationship with YAML file
Hi,
I have an ActiveRecord model Group and a YAML table stored in
config/users.yaml just like:
- {login: titi, password: 123456, group_id: 2}
- {login: toto, password: 987654, group_id: 7}
And I would like to link them by a sexy way. Can you help me?
I would be happy if I can do this (as example): User.first.group.id # =>
2
Many thanks for any help!
--
Posted via
2009 Sep 15
2
precision multi-page printing
I am at a point where I will need to print checks in an application.
I guess the best way to describe this is that I am using pre-printed
checks and that I want to hit the prescribed areas with my text output.
Should I be doing something like PDF output like pdf-writer or other or
can I possibly do this with html and css?
My output will be check runs of many checks with 1 page per check.
Any
2010 Dec 10
2
News: Heroku bought: Salesforce wants some Ruby love: $212m goes a long way
News to me. Probably worth considering when choosing your deployment
options.
http://www.theregister.co.uk/2010/12/09/salesforce_why_buy_heroku/print.html
Dreamforce 2010 Why would a company that spent 10 years delivering CRM
as a service drop $212m in cash and $27m in stock on a 30-person
startup that hosts Ruby on Rails apps for devs on Amazon?
Salesforce.com vice president of technology and
2009 Jul 13
12
.html/.html.erb/.rhtml to PDF
Hello All,
I wanted to convert .html file into .pdf.
is there any rails plugin ??
Thanks,
Sandip R~
--
Ruby on Rails Developer
http://sandip.sosblog.com
http://funonrails.wordpress.com
www.joshsoftware.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this
2006 Apr 10
10
Anyone has experience with railsplayground.com hosting ?
Im ready to start hosting and deploying some of my rails apps, im
guessing if someone are using railsplayground.com shared hosting plan,
right now im paying USD $35 for a half of disk space and transfer, with
no rails support :(
any advice its more than welcome :)
--
Posted via http://www.ruby-forum.com/.
2009 Jun 22
5
has_many through , or habtm , using form
i think there ara two ways of relate products and categories ,
basically i want to fix one product(e.g hp dv7....) to some categories
(notebook,17"notebooks...)
i made a table named categorization(incuding category_id,product_id
fields) then in models i write these codes below
class Product < ActiveRecord::Base
has_many :categories, :through => :categorizations
2009 Oct 27
14
Authlogic Password confirmation is too short Error. NEED HELP.
Hi:
I am using authlogic, and following railscast tutorial. I am running
into this error code with the password confirmation.
authlogic password confirmation is too short
Has anyone experienced this error? I need your help.
Thanks in advance for your help.
2009 Aug 19
10
acts_as_list / acts_as_tree / acts_as_nested_set - which one
I am creating forum application which needs usage of acts_as_list or
acts_as_tree or acts_as_nested_set.
I am unable to decide among these. please could some one recommend from
their experience?
--
Posted via http://www.ruby-forum.com/.
2010 Aug 30
16
<b> tag in HTML 5 (was Re: Re: assert_select for <p><b>text</b>value</p>)
On 30 August 2010 15:47, Marnen Laibow-Koser <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:
> Colin Law wrote:
>> I have the following html
>> <p><b>text</b>value</p>
>> I can use
>> assert_select "p>b", "text"
>> to check the text portion, and
>> assert_select "p", "value"
2009 Aug 13
10
default value if textfield is empty
Hey all,
im not sure where to set a default value if a textfield is empty?
For now i do it in the controller, and check if the submitted parameter
is blank.
But this seems not to be the best solution...
Thanks for your help!
--
Posted via http://www.ruby-forum.com/.
2010 Dec 23
36
Weird issue with converting floats to integer
Any idea why this calculates the integer the way it does?
irb> ("291.15".to_f * 100.0).to_i
=> 29114
Thanks,
Tom
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
2006 Jul 21
4
Printed/PDF Reports (Text/Tabular/Summary) in Rails
The recent discussion about different graphing solutions made me
think. What is everyone using for general reports? Currently I have a
web based application at work that has roughly 20 different reports
ranging from simple tabular data with totaling at the bottom to
pretty, colorized, graphic logo''s,etc... going to clients, and
finally complex ones I hate to think about such as