tundrax wrote in post #964969:
Maybe your RVM is not running as a function that is causing gem env
confusion.
Check out the manual, Post Install section.
Run type rvm | head -n1 and check if the return is rvm is a
function. And if it's not, follow the instructions given in the
manual.
Hope
Marnen Laibow-Koser wrote in post #964957:
Your problem is with RVM, not with Ruby or Rails.
And what is yours?
--
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
I think don't be afraid, just try it out! On your cpanel you can
delete anything if you find it unuseful.
You can also make a server on your machine, you will reach it as
localhost.
Also you can ask your hosting's support.
After you tried to make it work, and something has error message -
it's
Hello,
you can do these kind of things from console. Do you have SSH access
for your hosting? What kind of hosting is it?
First install the Haml gam:
gem install haml
Second write it to your Gemfile in your app's root folder:
gem 'haml'
Then try 'bundle install' in terminal.
If you have an
Hello,
first try RVM, it can solve this kind of problems easily.
Plase write here your ruby, gem, rails -v versions, and output of gem
list command. What OS you use?
You can check simply 'gem' command gives you how you can use this
command, and also 'gem -h' or 'gem --help' If you have multiple
Is there any way to create IP address range? like 192.168.0.1/24.
It's too annoy to create a data each time.
I find a Rubygems' ipaddress.
http://rubygems.org/gems/ipaddress.
I would like to take this to created IP range.
in new.heml.erb
%= f.lable :iprange %
%= f.text.field :iprange %
I don't
On 28 November 2010 22:08, skt stibre...@gmail.com wrote:
Folks,
I am on Rails 2.3.8. I have models declared as below
class GradeSection ActiveRecord::Base
has_many :class_calendars
more stuff
end
class ClassCalendar ActiveRecord::Base
has_many :uploaded_attachments, :class_name =
Hi Nick,
I think that you are right and the problem lies with your installation
of wkhtmltopdf given your command line problems. Maybe try uninstalling
wkhtmltopdf
apt-get remove wkhtmltopdf
and then installing via PDFKit
pdfkit --install-wkhtmltopdf
or manually
Sorry, I know this isn't
On 30 November 2010 05:27, gary yangwein...@gmail.com wrote:
Is there any way to create IP address range? like 192.168.0.1/24.
It's too annoy to create a data each time.
I find a Rubygems' ipaddress.
http://rubygems.org/gems/ipaddress.
I would like to take this to created IP range.
in
Anyone know how to add this patch?:
0001-enforced-utf-8-encoding-for-ruby-19-and-mysql-text.patch
(https://rails.lighthouseapp.com/projects/8994/tickets/4683-ascii-8bit-and-utf-8-in-hell)
I've never applied such a pacth.
Thanks
Gjermund
--
Posted via http://www.ruby-forum.com/.
--
You
finally i fixed it..i had to make a single line as comment that is gem
'sqlite3-ruby', :require = 'sqlite3' in my gemfile ...any way thanx
for ur support..
On Nov 29, 10:05 pm, Marnen Laibow-Koser li...@ruby-forum.com wrote:
Emanuel wrote in post #964744:
Don't know if this is useful for you but just fixed that yesterday.
I was upgrading from rails 3.0.0 to 3.0.3 and starting rails server
complained about needing i18n 0.4.1 but 0.5.0 being active so I
reinstalled all rubies with rvm, removed all cached gems, reinstalled
rails and removed i18n 0.5.0
ps. rails 3.0.3
--
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-t...@googlegroups.com.
To unsubscribe from this group, send email to
On 30 November 2010 10:14, Yan Bernatsky li...@ruby-forum.com wrote:
I have 3 models
Skill, User, UserSkill
User has_many skills :through = :user_skills
User has_many :user_skills
UserSkill.new # = { :id = nil, :user_id = nil, :skill_id = nil }
us = UserSkill.create(:user_id = 1, :skill_id
Colin Law wrote in post #965064:
On 30 November 2010 10:14, Yan Bernatsky li...@ruby-forum.com wrote:
Why id is nil?
In the database record was created and id is not null...
The id is not allocated until the record is saved to the database.
Colin
But other models returns the id on
I want to update a div on my page with prototype (new Ajax.Updater
('my_div', 'page.html')).
What I do is:
.
.
% = csrf_meta_tag%
% = javascript_include_tag: defaults%
.
.
% = yield%
.
.
% = link_to Link, page_path,: remote = true%
Without the :remote = true the div is updated but it does
UserSkill.new # = { :id = nil, :user_id = nil, :skill_id = nil }
us = UserSkill.create(:user_id = 1, :skill_id = 1) # = { :id = nil,
:user_id = 1, :skill_id = 1 }
Why id is nil?
In the database record was created and id is not null...
Hi,
Friend when you create any new object usign
But other models returns the id on .create()
yes..
in this case method(.create()) first creates record in db table and
then it provides you hash with table's all attributes and values which
are there in db records.
-Ganesh K
--
Posted via http://www.ruby-forum.com/.
--
You received this
Model.create(:attr = value) returns the #Model id: 1, attr: Value
if model is valid and no database's errors found. It is normal, but my
UserSkill returns #UserSkill id: nil, etc.. on create method.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are
On Nov 27, 3:30 am, Tiesto esau...@gmail.com wrote:
Hi!!
Somebody knows why throws me an exception??
Sounds to me like the soap response ruby is trying to parse for you
contains an invalid date (eg Februrary 31st). Have you tried looking
at the soap response before ruby parses it?
Fred
--
On Nov 28, 10:08 pm, skt stibre...@gmail.com wrote:
In my create function in GradeSection controller I get data posted as
such
Processing GradeSectionController#create (for 127.0.0.1 at 2010-11-27
22:13:46) [POST]
Parameters:
hi,
im trying to build a ajaxified remote_form_for. this looks like that:
% remote_form_for :search, :url = { :action = index} , :method = get
, :loading = $('divSearchWiP').show();, :loaded =
$('divSearchWiP').hide(); do %
...
%= submit_tag Search %
the form above sits in the index view. the
On Tue, Nov 30, 2010 at 3:25 AM, Conor Nugent li...@ruby-forum.com wrote:
Hi Nick,
I think that you are right and the problem lies with your installation
of wkhtmltopdf given your command line problems. Maybe try uninstalling
wkhtmltopdf
apt-get remove wkhtmltopdf
and then installing via
Do you remember the version of the gem(s) you had before you updated
them? There is a way to install specific gem versions by adding the
version at the end of the install command. Something like this:
gem install rails -v=2.3.5 # This would install Rails 2.3.5
You can also check the dependencies
Anyone knows or worked with DragonFly gems to make photo upload? I have some
issue with this: DragonFly doesn't cleanup yours tempfiles...
All the time that i get some file (I use fetch method from app), DragonFly
create an new file in my tmp dir.
Thanks
Andre
--
You received this message
Hi, I'm looking for answers for the same problem and the solution
therfore is?
= maybe read the file in the server and create it as a tmp file in
public/
¿Is this a correct solution?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the
Dear Michael,
Thanks lot for your answer.
% @sp_references.each do |sp_ref| %
%= sp_ref.all_references.map(:reference).uniq.delete_if{|ref| ref
=~ /emend$/i}.join(br/) %
% end %
I need the results have to print without duplicates. This gives the results
with duplicates.
* %
On 30 November 2010 14:09, Albert C. li...@ruby-forum.com wrote:
Hi, I'm looking for answers for the same problem and the solution
therfore is?
What problem?
Colin
= maybe read the file in the server and create it as a tmp file in
public/
¿Is this a correct solution?
--
Posted via
On 30 November 2010 14:10, PalaniKannan K kpalanikan...@gmail.com wrote:
I need the results have to print without duplicates. This gives the results
with duplicates.
snip
and
snip
presents same results with duplicates. Please about your suggestion.
I'm having trouble seeing where you're even
Hi there,
I'm using Action Caching with Rails 2.3.8 on Heroku with Memcached
(via Dalli Gem).
Without the layout parameter Action Caching works fine. However, as
soon as I add layout = false I get problems: Normal non-ajax requests
are cached fine, without the layout, as expected. But ajax
Ok, lets begin, I'm newest, sorry because this is a low level question:
If I have this, and of course I've saved before, this file in public dir
iframe src=public/6465_p_61_620_15674.pdf/iframe
¿Why doesn't work?
* this is called from firmas controller and mostrar_pdf action
=the iframe says,
Thanks for the answers.
One last general question. Where do you validate your parameters
fetched by params that should be passed to models? Do you check them
right away in the controller and give them cleaned up to the model, or
do you just provide them as they are (maybe just put them in single
On 30 November 2010 14:42, Albert C. li...@ruby-forum.com wrote:
Ok, lets begin, I'm newest, sorry because this is a low level question:
If I have this, and of course I've saved before, this file in public dir
iframe src=public/6465_p_61_620_15674.pdf/iframe
¿Why doesn't work?
if it is in
Frederick Cheung wrote in post #965072:
On Nov 27, 3:30am, Tiesto esau...@gmail.com wrote:
Hi!!
Somebody knows why throws me an exception??
Sounds to me like the soap response ruby is trying to parse for you
contains an invalid date (eg Februrary 31st). Have you tried looking
at the soap
Ok, don't panicm another wat to make the question:
id DreamWeaver i can do:
iframe
src=file:///C:/druby/gestorweb/6465_p_61_620_15674.pdf/iframe
but in a ruby form (_frame_pdf.html.erb) i Can not do the same
iframe
src=file:///C:/druby/gestorweb/6465_p_61_620_15674.pdf/iframe
If i inspect
Please quote when replying.
Kai Schlamp wrote in post #965115:
Thanks for the answers.
One last general question. Where do you validate your parameters
fetched by params that should be passed to models? Do you check them
right away in the controller and give them cleaned up to the model, or
Thanks, Perfect!!! as you can see I'm new in linux (mac)... all my live
with windows
Before you leave, please: this was a simple example to see somthing in
iframe, bu files, in fact are en the local network.
How i have to put, in iframe?
src=//shared_dir/dir/6465_p_61_620_15674.pdf ???
or
Andre Fonseca wrote in post #965095:
Anyone knows or worked with DragonFly gems to make photo upload? I have
some
issue with this: DragonFly doesn't cleanup yours tempfiles...
All the time that i get some file (I use fetch method from app),
DragonFly
create an new file in my tmp dir.
On 30 November 2010 15:18, Albert C. li...@ruby-forum.com wrote:
Please don't top post it makes it difficult to follow the thread.
Insert your comments in the previous message. Thanks.
Thanks, Perfect!!! as you can see I'm new in linux (mac)... all my live
with windows
Before you leave,
Colin Law wrote in post #965126:
On 30 November 2010 15:18, Albert C. li...@ruby-forum.com wrote:
Please don't top post it makes it difficult to follow the thread.
Insert your comments in the previous message. Thanks.
or
src=/shared_dir/dir/6465_p_61_620_15674.pdf ???
As I said in
On 30 November 2010 15:32, Albert C. li...@ruby-forum.com wrote:
Colin Law wrote in post #965126:
On 30 November 2010 15:18, Albert C. li...@ruby-forum.com wrote:
Please don't top post it makes it difficult to follow the thread.
Insert your comments in the previous message. Thanks.
or
On 29 Nov 2010, at 23:31, Paul Schreiber wrote:
This was filed as:
https://rails.lighthouseapp.com/projects/8994/tickets/6080-i18n-support-for-html5-placeholder-attribute
…and Aditya Sanghi suggsted I post to the list about it
Currently, Rails' I18n system automatically looks up localized
Sorry !!
I forgot this. I will open new one. Thank you.
Att
Andre
--
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-t...@googlegroups.com.
To unsubscribe from this group, send email to
0 down vote favorite
Hi, since several days I have this problem:
For a few days it has worked and now I can't do it works again. I setup
a rails server on ubuntu with apache-2. I used a git repository to get
all new change. After I run
sudo rake db:migrate RAILS_ENV=production
But after have
Gjermund Lunder wrote in post #965049:
Anyone know how to add this patch?:
0001-enforced-utf-8-encoding-for-ruby-19-and-mysql-text.patch
(https://rails.lighthouseapp.com/projects/8994/tickets/4683-ascii-8bit-and-utf-8-in-hell)
I've never applied such a pacth.
It's a standard *nix patch
Gregory Grimaux wrote in post #965148:
0 down vote favorite
Hi, since several days I have this problem:
For a few days it has worked and now I can't do it works again. I setup
a rails server on ubuntu with apache-2. I used a git repository to get
all new change. After I run
sudo rake
Hi,
I am absolutely new to Ruby and I want to do the following:
1 - I want to put all of my Ruby on Rails development on a single memory
stick drive. The purpose of this is so that I can develop Ruby on Rails
applications no matter where I plug in, (Linux, Windows, Mac).
2 - Can I do this?
3 -
I'm working on a datepicker and a timepicker. The datepicker is the
jQuery datepicker. The timepicker displays a drop down menu with
available times.
I want to have two different fields: the datepicker and timepicker. Then
mix up the two (probably in the controller) and come up with the whole
Peter Macgown wrote in post #965156:
Hi,
I am absolutely new to Ruby and I want to do the following:
1 - I want to put all of my Ruby on Rails development on a single memory
stick drive. The purpose of this is so that I can develop Ruby on Rails
applications no matter where I plug in,
Use the _tag versions of the form helpers. i.e., text_field_tag
instead of f.text field.
On Nov 30, 11:52 am, Leonel *.* li...@ruby-forum.com wrote:
I'm working on a datepicker and a timepicker. The datepicker is the
jQuery datepicker. The timepicker displays a drop down menu with
available
Leonel *.* wrote in post #965158:
I'm working on a datepicker and a timepicker. The datepicker is the
jQuery datepicker. The timepicker displays a drop down menu with
available times.
I want to have two different fields: the datepicker and timepicker. Then
mix up the two (probably in the
Anyone work or know about gem dragonfly ? I use this for photo upload in a
web app. My problem is Dragonfly does not delete the files it created in
tmp dir. All time, when i fetch some file, it create one tempfile
(dragonfly_2010). No one clean up this files after Dragonfly finish.
Is there
On Nov 29, 2010, at 11:58 PM, Konstantinos Loupos wrote:
Hi colin,
as i have seen, authlogic does require default names like login, password
etc. I was using t_login and t_password as i result getting these errors.
I re-created my table with the new fields and everything works fine!!!
Marnen Laibow-Koser wrote in post #965150:
It's a standard *nix patch file. The patch command could read it (see
its man page for more details), but the a/ and b/ file naming scheme
means that you'd probably be better off using git apply.
Is possible use a patch command also under Windows?
Gjermund Lunder wrote in post #964821:
Robert K. (or others), If you do have have the exact line for the
enforce coding and in witch erb files to put it I would be happy.
To replicate this error, call:
rails -v
Rails 3.0.3
ruby - v
ruby 1.9.2p0 (2010-08-18) [i386-mingw32]
Mysql version:
I am trying show controller specific pages in my rails app when the
database connection goes away. I do this by catching the Mysql::Error in
the rescue_action method and rendering appropriate pages. When the mysql
service alone is stopped , i get the Mysql::Error exception really
quickly and i
Leonel, Rails is (rightfully) telling you that those attributes of the
model don't exist yet. You said, ...then
mix up the two (probably in the controller)... That's the part that
is missing. How you do that is through virtual attributes (see
Railscast #16 and #167) and done in the Model, not the
Peter Macgown wrote:
Hi,
I am absolutely new to Ruby and I want to do the following:
1 - I want to put all of my Ruby on Rails development on a single memory
stick drive. The purpose of this is so that I can develop Ruby on Rails
applications no matter where I plug in, (Linux, Windows, Mac).
2
I was working on that two months ago and I thought I had everything
figured out. But I stopped coding and now that I'm back I can't remember
what was my plan to do that.
Thanks guys! I'll try your suggestions.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because
I have a Rails3 app with three resources:
- League (has_many :teams)
- Team (belongs_to :league, has_many :players)
- Player (belongs_to :team)
With standard nested routes, I get URLs like:
/leagues (lists all leagues)
/leagues/2(shows league #2)
/leagues/2/teams (lists all
David Kahn wrote in post #965093:
On Tue, Nov 30, 2010 at 3:25 AM, Conor Nugent li...@ruby-forum.com
wrote:
pdfkit --install-wkhtmltopdf
or manually
Sorry, I know this isn't much help!
Right... also, when you say your pdf is blank --- does the file actually
open or is it empty? I had
Norm Scherer wrote in post #965176:
Peter Macgown wrote:
Hi,
I am absolutely new to Ruby and I want to do the following:
1 - I want to put all of my Ruby on Rails development on a single memory
stick drive. The purpose of this is so that I can develop Ruby on Rails
applications no matter
On Tue, Nov 30, 2010 at 11:26 AM, andyl akl...@gmail.com wrote:
I have a Rails3 app with three resources:
- League (has_many :teams)
- Team (belongs_to :league, has_many :players)
- Player (belongs_to :team)
With standard nested routes, I get URLs like:
/leagues (lists all
andyl wrote in post #965181:
I have a Rails3 app with three resources:
- League (has_many :teams)
- Team (belongs_to :league, has_many :players)
- Player (belongs_to :team)
With standard nested routes, I get URLs like:
/leagues (lists all leagues)
/leagues/2(shows league
Ok, here's one for you. I ran wkhtmltopdf -H www.google.com
google.pdf and got a blank document but it had the header. Then I
loaded an html file that I had on my local computer and it worked
good stuff. It appears that my command line is just having trouble
reaching the internet. I'm
On Nov 29, 9:50 pm, Ralph Shnelvar li...@ruby-forum.com wrote:
When I attempt to launch my application on my server, the Mongrel log
says that
Missing these required gems:
haml
I do not control my server and the ISP has told me that he will give me
no support in terms of Ruby on Rails.
On Nov 30, 3:01 pm, Jesus Granados li...@ruby-forum.com wrote:
Frederick Cheung wrote in post #965072:
On Nov 27, 3:30am, Tiesto esau...@gmail.com wrote:
Hi!!
Somebody knows why throws me an exception??
Sounds to me like the soap response ruby is trying to parse for you
contains an
Marnen Laibow-Koser wrote:
Norm Scherer wrote in post #965176:
Peter Macgown wrote:
Hi,
I am absolutely new to Ruby and I want to do the following:
1 - I want to put all of my Ruby on Rails development on a single memory
stick drive. The purpose of this is so that I can develop Ruby
On Tue, Nov 30, 2010 at 12:13 PM, Nick Burdick li...@ruby-forum.com wrote:
David Kahn wrote in post #965093:
On Tue, Nov 30, 2010 at 3:25 AM, Conor Nugent li...@ruby-forum.com
wrote:
pdfkit --install-wkhtmltopdf
or manually
Sorry, I know this isn't much help!
Right...
When you're configuring dragonfly try something like this:
app.configure_with(:imagemagick, :use_filesystem = false)
Luke
On 2010-11-30, at 9:08 AM, Andre Fonseca wrote:
Anyone work or know about gem dragonfly ? I use this for photo upload in a
web app. My problem is Dragonfly does not
Norm Scherer wrote in post #965196:
Marnen Laibow-Koser wrote:
2 - Can I do this?
I think not. At the minimum you will require a ruby environment on each
of the computers and that environment is unique to the system. That is
to say the ruby interpreter that runs on Linux will not run on
Matt Jones wrote in post #965193:
On Nov 29, 9:50pm, Ralph Shnelvar li...@ruby-forum.com wrote:
in some directory that will allow haml to be found?
I'm guessing that you're running on Rails 2.3, as I believe the 3.x
message is different (and Bundler would handle most of this).
On your
Marnen Laibow-Koser wrote:
Norm Scherer wrote in post #965196:
Marnen Laibow-Koser wrote:
2 - Can I do this?
I think not. At the minimum you will require a ruby environment on each
of the computers and that environment is unique to the system. That is
to say the ruby
On Nov 29, 3:30 pm, turkan kai.schl...@googlemail.com wrote:
Hi.
I am often checking the same parameters (like param[:page] and
param[:per_page]) in models over and over again (are those in a
specific range ... if not use defaults):
page = !options[:page].blank? options[:page] =~
Thanks for you help!
What if I were to reign this in to just Windows? Would that work for me
in what I want to do? I could limit my work to just XP(still cool) and
Vista(ugh gross!).
--Peter
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed
Peter Macgown wrote in post #965207:
Thanks for you help!
What if I were to reign this in to just Windows? Would that work for me
in what I want to do? I could limit my work to just XP(still cool) and
Vista(ugh gross!).
Bad idea: Rails development works best on *nix.
What's your use
I'm running ruby 1.8.7 on rvm, and I'm trying to install the pg gem.
I've used macports to install postgresql 8.3. I'm running on a
dual-core mac. I try installing the pg gem with this command: (all
directories are not empty)
env ARCHFLAGS=-arch x86_64 gem install pg --
Ralph Shnelvar wrote in post #965201:
[...]
I believe that
rake gems:unpack
will unpack everything that I need.
Isn't unpack a _terrible_ name for what the operation does!?
Why do you think so? It takes a gem and unpacks the files into
vendor/gems. Isn't unpack a _perfect_ name for
Look at http://ruby5.envylabs.com/ but they are too short for long listening
On Tue, Nov 30, 2010 at 2:14 AM, Vladimir Rybas vladimirry...@gmail.comwrote:
Hey dudes,
Does anybody know where to find a fresh Ruby/Rails podcasts? Which
ones do you listen to?
Looks like
I'm having some difficulty with IE8 on a Rails 2.3.5 app. I'll state
from the outset that this problem does not occur with Firefox, Chrome,
or Opera when run on the same system so I'm reasonably certain I've
got an IE issue here.
Here's a simple description:
I'm ending a Users#new form with:
:) Yep... it should go without saying... but that seems to be exactly
what my problem is. Go figure. I'm still having an error issue inside
Rails, but I think that has something to do with the configuration.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you
On Tue, Nov 30, 2010 at 1:13 PM, Nick Burdick li...@ruby-forum.com wrote:
:) Yep... it should go without saying... but that seems to be exactly
what my problem is. Go figure. I'm still having an error issue inside
Rails, but I think that has something to do with the configuration.
Hmmm
I would encourage you to implement it and submit a patch following the
processes outlined in the contributors guide:
https://rails.lighthouseapp.com/projects/8994/sending-patches
It seems a good idea to me and creating a ticket and a patch for the
feature is the best way to get the Rails Core
Hi Marnen,
I have three different PC's running Windows (2 XP's and 1 Vista) at
disparate locations. Unix is moot since it is not available to me. I do
not want to be limited to do development at a single location.
My use case is to capture sensor gestalt from an Arduino board and store
it in a
Peter Macgown wrote in post #965218:
Hi Marnen,
I have three different PC's running Windows (2 XP's and 1 Vista) at
disparate locations.
Those should be binary-compatible, then. (Why you'd torture yourself
with Windows is another question. :) ).
Unix is moot since it is not available to
Peter Macgown wrote:
Thanks for you help!
What if I were to reign this in to just Windows? Would that work for me
in what I want to do? I could limit my work to just XP(still cool) and
Vista(ugh gross!).
--Peter
I do not really like it as a development environment but you could
install
I'm deploying new rails applications. Everything works well
except when it comes to the db migration:
* executing cd /var/rails/benefits_test/releases/20101129190121
/opt/ruby-enterprise-1.8.7-2010.02/bin/rake RAILS_ENV=production
db:util:migrate
servers: [ps-test-app1]
[ps-test-app1] executing
On 30 November 2010 19:06, Rick richard.t.ll...@gmail.com wrote:
I'm having some difficulty with IE8 on a Rails 2.3.5 app. I'll state
from the outset that this problem does not occur with Firefox, Chrome,
or Opera when run on the same system so I'm reasonably certain I've
got an IE issue
Hi,
My Rails app offers opportunities to try out models on a 'what-if'
basis, where dependent associations can be modified to obtain
alternative results for the parent. Is there a way to delete/destroy
the member of a collection so that I can play around with the
accordingly modified parent in
Validation in the controller will lead to repetitive code scattered all
over the application.
Ok, then one last last question ;-) ... just want to make sure that I
do it the Rails way.
When you let the user pass several paramters regarding how the
instances of your model are presented (order,
Again- I'm not sure I'm really helping here at all but I had to add the
following to application.rb
#pdfkit
config.middleware.use PDFKit::Middleware, :print_media_type =
true
PDFKit.configure do |config|
config.wkhtmltopdf =
On Nov 30, 2010, at 3:27 PM, Kai Schlamp wrote:
Validation in the controller will lead to repetitive code scattered
all
over the application.
Ok, then one last last question ;-) ... just want to make sure that I
do it the Rails way.
When you let the user pass several paramters regarding
Marnen Laibow-Koser wrote in post #965219:
Peter Macgown wrote in post #965218:
Hi Marnen,
I have three different PC's running Windows (2 XP's and 1 Vista) at
disparate locations.
Those should be binary-compatible, then. (Why you'd torture yourself
with Windows is another question. :) ).
When I'm executing cucumber tests, I noticed that sometimes rails app
(in test env.) getting several the same requests (GET or POST) usually
around 3, and it doesn't render anything with empty HTTP status code.
Have anyone met something similar to that issue?
here is some example of log file:
On Tue, Nov 30, 2010 at 3:45 PM, yurokle yuro...@gmail.com wrote:
When I'm executing cucumber tests, I noticed that sometimes rails app
(in test env.) getting several the same requests (GET or POST) usually
around 3, and it doesn't render anything with empty HTTP status code.
Have anyone met
Okay, I debugged a bit more and found out what the problem is
(at least when locally in development environment). Inside the action
cache content_for_layout
is called to get the content to be cached if layout is set to false.
This causes
my ajax requests to be not cached because content_for_layout
In this case they are pretty simple:
just going to some page, checking a checkbox and pressing submit
button.
But I'm not sure if scenarios can be the issue here, cos I'm getting
the same issue for two next cases:
BASIC SCENARIO:
Scenario: User makes his profile public
Given I am logged in
Sarah,
First, from the command prompt type gem list to see everything you
have installed.
Verify the name of the gem you want to uninstall. Then, from the
command prompt, type gem uninstall i18n You can substitute the name
of any gem for i18n, but I think you referenced that as your problem
gem.
I've just stumbled (literally, while I was trying to fix a glitch I
was having after upgrading Aegis...) on the Inherited Resources gem...
why did no-one tell me?! ;-)
Is everyone else using some form of controller base-class? Am I the
last on this bus!
Peter Macgown wrote in post #965230:
Marnen Laibow-Koser wrote in post #965219:
Peter Macgown wrote in post #965218:
Hi Marnen,
I have three different PC's running Windows (2 XP's and 1 Vista) at
disparate locations.
Those should be binary-compatible, then. (Why you'd torture yourself
1 - 100 of 129 matches
Mail list logo