Displaying 20 results from an estimated 186 matches for "rails3".
Did you mean:
rails
2011 Jul 18
1
rails server being aborted due to mysql lib file not available
Hi,
My system has the following :
MacOs Leopard
Rails 3
Ruby 1.9
Mysql 5.1.58
mysql2 ruby gems
My problem is that when i give "rails server", the task aborts with
the foll error
rails server/Users/nisha/.rvm/gems/ruby-1.9.2-p180@rails3/gems/
railties-3.0.5/lib/rails/script_rails_loader.rb:11: warning: Insecure
world writable dir /usr/local/bin in PATH, mode 040777
/Users/nisha/.rvm/gems/ruby-1.9.2-p180@rails3/gems/bundler-1.0.11/lib/
bundler.rb:207: warning: Insecure world writable dir /usr/local/bin in
PATH, mode 040777
/Users/n...
2010 Aug 23
7
Sharing sessions between a rails3 app and a rails2 app. Rails 2 app crashes.
Hey all.
I have two apps. One is a rails3 app and the other is a rails 2 app.
Using proxying I am routing actions in the myapp.com/foo to the rails2
app.
It almost works! I can set a session variable and a cookie variable on
the first app (myapp.com) and then read them on the second app
(myapp.com/foo).
It only works the first time thoug...
2010 Nov 24
2
Puzzled about the rspec tests generated by Rails3
Hi all
I am puzzled about the rspec tests that are generated by Rails3
scaffolding. I am however not sure if this is the correct place to
discuss this issue.
It might be that a rails ML/chat is better suited for that kind of
discussion. It just depends on who is responsible for that code.
Somehow I am too stupid to find that out, so please bare with me if I
produced o...
2010 Sep 02
5
Re: Exclude ActiveRecord in Rails3
What''s the best way to exclude ActiveRecord in Rails3?
In Rails2, one could just do:
*config.frameworks -= [ :active_record ]*
in the configuration block in environment.rb. Is it possible in Rails3?
Thanks.
Anuj
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To post to this g...
2012 Jun 26
2
Error with rake command
...(<unknown>): did not find expected node content while parsing a flow
node at line 18 column 14
(See full trace by running task with --trace)
Please help me to solve this problem.
And I also check rake command in Rails 3.2.6 application. Then it
gives following result :
ms@ms-HP:~/Desktop/rails3/blog$ rake
Run options:
# Running tests:
Finished tests in 0.004364s, 0.0000 tests/s, 0.0000 assertions/s.
0 tests, 0 assertions, 0 failures, 0 errors, 0 skips
Run options:
# Running tests:
.FFF.F.E
Finished tests in 0.671677s, 11.9105 tests/s, 11.9105 assertions/s.
1) Failure:
test_shou...
2010 Aug 22
1
rails3: t.index in migrations not working anymore
Hello,
I''m playing around with Rails3 and trying to upgrade one of my
applications to Rails 3.0.0.rc and I get an error which should be still
working.
Migration:
t.index :name
When I execute rake:
rake aborted!
An error has occurred, all later migrations canceled:
undefined method `index'' for
#<ActiveRecord::ConnectionAd...
2010 Sep 12
0
observe_field for jquery + rails3
I am porting one application to Rails3 and want to know what is the
right way to do "observe_field" with Rails3?
--
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.gma...
2010 Oct 21
0
attachment in the database with thumbnail generation - rails3
What is the best solution for handling blob database storage with
rails3?
I used attachment_fu before, but it doesn''t seem to work well with
rails3. Anyone got it working?
paperclip seems nice, but i need database storage for backups and
security.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" grou...
2011 Dec 02
1
How to implement ActionMailer callbacks for rails3?
Hi,
Is it possible to implement callbacks(like
before_deliver :some_methodes, after_deliver :other_methods) with
ActionMailer in Rails3?
Please somebody help me or give me an idea :)
Already I saw http://railscasts.com/episodes/206-action-mailer-in-rails-3
but it I like to do it as callbacks
--
Best Regards
Abdul Barek
Senior Software Engineer
--
You received this message because you are subscribed to the Google Groups "Ru...
2011 Jan 12
1
gem and rails3: LoadError
Hi everybody,
I''m trying to use the prawn gem into a new rails3 application on debian.
What I did:
As root:
- install rubygems, from
http://rubyforge.org/frs/download.php/73882/rubygems-1.4.2.tgz
- gem install rails
- gem install prawn
- gem install pdf-reader
- gem list | grep prawn =>
prawn (0.8.4)
prawn-core (0.8.4)
prawn-la...
2011 Mar 26
2
Rails 3 + SSL
After reading tons of posts about buying certs, etc, I''m still
confused. Please point me in the right direction. Here''s the
question:
I have a rails3 site (www.mysite.com). I want to have some pages use
ssl, and some not. It appears the require_ssl approach is pre-Rails3
and there are other alternatives. Most of the posts I read talk about
using a diff domain for ssl (secure.mysite.com). Doing that means I
have to flip domains and seems to g...
2010 Sep 27
3
streaming response body to client?
So I''d like to stream my response body to the client.
At least under Rails2, it looks like you can pass a Proc to render
:text, to do that.
I am in a Rails2 app right now, but will upgrade to Rails3 sometime in
the next couple months, so don''t want to set myself up for failure.
Anyone know the status of streaming responses in Rails3? Is it
possible? Is there a different API to do so? (Seems like using Rack
api, it definitely must be possible, since Rails3 is all rack, and rack
is f...
2006 Mar 16
1
rails3 - example of Amazon S3 on rails
Hi
I''ve done a small rails application for file management on Amazon''s new
service, the storage webservice ''Amazon S3'' (at this time just upload, list
and delete methods are implemented). Maybe someone find it useful as
example.
The source code and a little more information can be found here:
http://caffo.backpackit.com/pub/502395
Best regards
Rodrigo Franco
2010 Jul 08
0
Rails3 -- Replacement for ActionController::Base.relative_url_root?
I have a post on stackoverflow which outlines the problem I am having:
http://stackoverflow.com/questions/3181746/what-is-the-replacement-for-actioncontrollerbase-relative-url-root
In short, I ported a rails 2.x to rails3 and started getting a
deprecation warning for using
ActionController::Base.relative_url_root. I switched to using
config.action_controller.relative_url_root and while any calls to
external resources (like css/jss/images) does have the url root
appended, none of my routes do.
Is config.action_contr...
2010 Jul 19
0
redcloth with rails3 and ruby 1.9.2
is redcloth working with rails3 and 1.9.2?
I don''t see it here - http://railsplugins.org/
redcloth 4.2.3 throws this exception when trying to use the method
textilize:
uninitialized constant ActionView::Helpers::TextHelper::RedCloth
I might need to use the 1.9.2.
can you guide me how to use the 1.9.2 version? (I assume...
2010 Sep 09
0
Rails3: jquery-rails gem sets 'config.action_view.javascript_expansions' but cannot be overriden in 'config/application.rb'
Hello,
I''ve created a new Rails3 app and I''m using jQuery instead of prototype.
Gemfile:
gem ''jquery-rails''
in my config/application.rb I want do the following:
config/application.rb
if Rails.env.production?
config.action_view.javascript_expansions[:defaults] = %w(jquery.min
rails application)
el...
2010 Sep 24
0
template.base_path in rails3
Hi!
With Rails 2 template.base_path and template.name were available in
views.
What are the Rails3 equivalents?
--
M.
--
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 rubyonrails...
2010 Sep 30
0
upgrade to Rails3 question
Hi!
After upgrading to Rails3 and the latest plugins, two of the plugins:
delayed_job and oauth_plugin don''t work.
They display a similar problem, I am not able to use methods they
provide. In delayed_job''s case I can''t use Model.delay.method
(undefined method) and with oauth_plugin adding oauthentic...
2010 Oct 13
0
Overriding log_error in Rails3 not working
...ce(exception),
session.instance_variable_get("@data"),
params,
request.env
).deliver
end
I''d like the errors emailed to me.
It doesn''t seem to be calling that "log_error" at all.
Is this done some other way in Rails3?
--
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 rubyonrails-talk+unsubscribe-/...
2010 Nov 08
0
Rails3: "rake test" task does not run tests.
Hello all,
I have a spiffy new rails3 app for which I can run tests individually,
but not via rake. Behold!
> $ ruby -Itest test/unit/test_user.rb
> Loaded suite test/unit/test_user
> Started
> .
> Finished in 0.466033 seconds.
>
> 1 tests, 1 assertions, 0 failures, 0 errors, 0 skips
>
> Test run options: --...