Displaying 6 results from an estimated 6 matches for "sdoc".
Did you mean:
doc
2006 Mar 18
3
Nil result on find & pretty print
I am new to Ruby and to Ruby on Rails and have spent the last few days
trying to get my head around it. I think I am already hooked but am
suffering badly from years of programming a non-OO RDBMS. I am trying
to learn by attempting to produce a system for my work.
I have a main table sdocs which has a field supplier_id which is an
entry in another table (suppliers) to lookup supplier name etc. At the
moment I am not using the id field of suppliers in an attempt to get
around the following error. (The agile development book suggests that
the nil error only results from a search on...
2006 Apr 06
1
Rmagick file conversion
I am using rmagick to convert files stored as a tiff to either pdf or
jpg for display to the user. A snippet of test code from the controller
follows. It works OK. ( it does need a sanitizer )
require RMagick
def pdf
@sdoc = Sdoc.find(params[:id])
@fname = ''/var/www/images/'' + @sdoc.fname
@nf = Magick::ImageList.new(@fname)
@nf.write(''/tmp/ff.pdf'')
send_file ''/tmp/ff.pdf''
end
What I would like to do is avoid having to save the temporary file...
2010 Jun 17
3
RDoc 2.2.0 requirement
Looks like Rails 3 currently depends on RDoc 2.2.0 exactly, even
though the latest version is 2.5.x. Why this specific version?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To post to this group, send email to rubyonrails-core@googlegroups.com.
To unsubscribe from this group, send email to
2014 Apr 14
0
Foundation & Authlogic
...links in your web application faster. Read
more: https://github.com/rails/turbolinks
gem 'turbolinks'
# Build JSON APIs with ease. Read more:
https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.0'
# bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', '~> 0.4.0', group: :doc
# Use ActiveModel has_secure_password
gem 'bcrypt', '~> 3.1.7'
# Use unicorn as the app server
# gem 'unicorn'
# Use Capistrano for deployment
# gem 'capistrano-rails', group: :development
# Use debugger
# gem...
2014 May 15
0
composite primary key - Rails 4.1
Hi,
I am facing issue with composite primary key
In my gem file I have the below entries -
gem 'rails', '>= 4.1.0.rc2'
gem 'mysql2'
gem 'rb-readline', "~> 0.5.1"
gem 'sdoc', '~> 0.4.0', group: :doc
gem 'spring', group: :development
gem 'bcrypt', '~> 3.1.7'
gem 'composite_primary_keys', {
:git =>
'git://github.com/composite-primary-keys/composite_primary_keys.git',
:branch =>...
2014 Apr 23
0
Something went wrong
...links in your web application faster. Read
more: https://github.com/rails/turbolinks
gem 'turbolinks'
# Build JSON APIs with ease. Read more:
https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.0'
# bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', '~> 0.4.0', group: :doc
# Use ActiveModel has_secure_password
# gem 'bcrypt', '~> 3.1.7'
# Use unicorn as the app server
# gem 'unicorn'
# Use Capistrano for deployment
# gem 'capistrano-rails', group: :development
# Use debugger
# ge...