I am encrypting the pdf in rails using pdf-toolkit
here is my code:
PDF::Toolkit.pdftk(infile output outfile user_pw rails)
It is giving error saying that
undefined method user_pw
Any suggestions
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are
On 5 December 2012 10:40, kiran cy li...@ruby-forum.com wrote:
I am encrypting the pdf in rails using pdf-toolkit
here is my code:
PDF::Toolkit.pdftk(infile output outfile user_pw rails)
It is giving error saying that
undefined method user_pw
Have you provided that method or variable? If
Hello guys,
I was wondering if I could display the ajax response in a modal
box. I could not find anything satisfying on the web. I am new to ajax.
This is what I was trying.
$(document).ready(function() {
var clicked1;
$(.inline).click(function(e) {
clicked1 = $(this).text();
$.ajax({
I am building a Task Management System and have implemented
fullcalendar.js in it. I need to get the pending tasks and change the
color of those pending tasks. I am getting the instance variable of
pending tasks details in the rails controller. But in the ajax request I
am not able to loop it.
I think that is predefined in pdftk
--
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@googlegroups.com.
To unsubscribe from this group, send
On 5 December 2012 11:04, kiran cy li...@ruby-forum.com wrote:
Please quote the previous message and put your reply inline at
appropriate points. Remember this is a mailing list not a forum
(though you may be accessing it via a forum-like interface. Thanks.
I think that is predefined in pdftk
Colin Law wrote in post #1087900:
On 5 December 2012 11:04, kiran cy li...@ruby-forum.com wrote:
Please quote the previous message and put your reply inline at
appropriate points. Remember this is a mailing list not a forum
(though you may be accessing it via a forum-like interface. Thanks.
On 5 December 2012 11:14, kiran cy li...@ruby-forum.com wrote:
Colin Law wrote in post #1087900:
On 5 December 2012 11:04, kiran cy li...@ruby-forum.com wrote:
Please quote the previous message and put your reply inline at
appropriate points. Remember this is a mailing list not a forum
On Dec 5, 11:14 am, kiran cy li...@ruby-forum.com wrote:
http://www.pdflabs.com/docs/pdftk-cli-examples/
That is the usage summary for the command line tools, not for the ruby
api. For starters you'll need to separate your arguments with commas,
not spaces
Fred
--
Posted
On Wed, Dec 5, 2012 at 7:02 PM, ruby rails li...@ruby-forum.com wrote:
I am building a Task Management System and have implemented
fullcalendar.js in it. I need to get the pending tasks and change the
color of those pending tasks. I am getting the instance variable of
pending tasks details in
Hey guys… beginner question here so hopefully it's an easy and quick answer.
Is it possible to create associations via scaffolding? Say I have an Artists
model and a Song model and I want song to have an artist_id. Can I create that
via the scaffold command? Or would I scaffold like normal for
Hi There,
I'm hoping you guys can help me out. I have recently developed an iphone
location based app and unfortunately the developer went off the rails
towards the end (yea pun intended lol) and when we were handed over all the
files for the app and admin site there was a number of things
On Dec 5, 2012, at 8:19 AM, Brian wrote:
Hi There,
I'm hoping you guys can help me out. I have recently developed an iphone
location based app and unfortunately the developer went off the rails towards
the end (yea pun intended lol) and when we were handed over all the files for
the
On Wednesday, December 5, 2012 1:19:15 PM UTC, Brian wrote:
Hi There,
I'm hoping you guys can help me out. I have recently developed an iphone
location based app and unfortunately the developer went off the rails
towards the end (yea pun intended lol) and when we were handed over all the
Hey guys… beginner question here so hopefully it's an easy and quick answer.
Is it possible to create associations via scaffolding? Say I have an Artists
model and a Song model and I want song to have an artist_id. Can I create that
via the scaffold command? Or would I scaffold like normal for
Hello Brian,
The quickest and most likely to be successful way out is to get connected
with someone who has actually built and deployed a RoR app. The work is
fairly straightforward once you know how but if you're looking at a time
constraint you'ld be best served by someone who's already
I can't quite figure out what's going on here, it seems like if this were
actually a problem someone else would have run into it and I'd have better
luck googling for it, since MultiJson is so popular but
Rails 3.2.9. Is ActiveSupport::Dependencies doing something weird with a
#load
PavanKumar Chamarthi wrote in post #1087845:
please help me in this... I am unable to install pg gem file
[root@vdimc04 ~]# gem install pg -v '0.12.0'
/usr/local/lib/ruby/1.9.1/yaml.rb:56:in `top (required)':
It seems your ruby installation is missing psych (for YAML output).
To eliminate
Nevermind!
Indeed, nobody else reported the problem because there is no problem.
Due to weirdnesses of my Gemfile.lock, I was using a really old version of
multi_json without realizing it, one that lacked the #lock method.
(Had an old version of Capybara in my gemfile.lock, which locked
I am extracting a standalone batch application from a Rails 3.0.1
project. This requires only ActiveRecord and ActionMailer. In my
testing I set
ActionMailer::Base.delivery_method = :test
This causes the mail to be delivered to the
ActionMailer::Base.deliveries array. However, I am getting
Rails 3.1.3
My app has two consecutive rails3-autocomplete-jquery form_tags
https://github.com/crowdint/rails3-jquery-autocomplete
I want to pass a parameter, which depends on the first
autocomplete_field_tag choice, to the second. The second form should
search based on the parameter.
%=
Hey all,
I am trying to list students in alphabetical order starting from
a to z but using search logic I unable to do that. can any one help me out.
These lines are in controller
@search = Student.search(params[:search])
@students+=@search.all
View
It is working pdf is encrypted
my_pdf =
PDF::Toolkit.open(directory+@encrypt_pdf.attach.url.split('?')[0].to_s)
my_pdf.user_password=@encrypt_pdf.user_password
my_pdf.owner_password=@encrypt_pdf.owner_password
how to allow permissions like printing screen reader
--
Posted via
Hiya
No more observers in Rails 4, farewell, never been much of a fan anyway.
However, one of my gems is enabling model attributes for use with a
client-side WYSIWYM editor. The sanitized markup ends up in the database
and has to be processed before shown in a view. The corresponding helper
Observers will be no more as of Rails 4, farewell, never been much of a
fan. However, I'm using it in one of my gems which enables model attributes
for use with a WYSIWYM editor. The resulting markup is persisted, but in
order to use it in a view, it has to be nokogiried in a helper which
If you want to maintain separation you could add after_update and
after_destroy callbacks that only send a message using
ActiveSupport:notifications.
You then write a subscriber to that notification which zaps the cache.
Same result, but instead of observing, it listens. It also makes it
26 matches
Mail list logo