similar to: [error] rake db:create

Displaying 20 results from an estimated 1000 matches similar to: "[error] rake db:create"

2013 Jan 23
2
Problem with Bootstrap-SASS
I''ve installed bootstrap-sass, and added an @import line in my css. Rails won''t find or serve up the bootstrap files. One error msg on the Mozilla console says: The stylesheet http://localhost:3000/assets/bootstrap was not loaded because its MIME type, "application/javascript", is not "text/css". Hmm. If I change the @import to say
2013 Mar 28
1
undefined method 'sanitize_limit' for #<ActiveRecord::Relation:0x2aaaad35d720>
I am trying to upgrate rails from 3.0 to 3.1, while updating rails version I am getting following error rake aborted! undefined method `sanitize_limit'' for #<ActiveRecord::Relation:0x2aaaad35d720> /some_package/lib/ruby/gems/1.8/gems/activerecord-3.1.12/lib/active_record/relation.rb:460:in `method_missing''
2012 Sep 25
9
Any rails experts able to offer some advice?
Hello all. #1 I am working on a rails3 gem called Yarder (https://github.com/rurounijones/yarder). The goal of this gem is to replace the rails logging system with one that is JSON based rather than string based. #2 To this end I also recently asked this list about making the LogSubscribers subscriptions to ActiveRecord::Notifications configurable and am looking at submitting a patch
2012 Jul 26
2
Using the :layout option when calling render @variable
Hey everybody, I wanted to use the :layout option when calling render @variable (where @variable is some ActiveRecord class instance with a corresponding variables/_variable.html.erb partial view), but as far as I know, Rails doesn''t support this. Here''s a quick patch that allows to use the :layout function: In partial_renderer.rb, add the following elsif block: if
2012 Sep 11
4
Should i buy Ruby on Rails 3 Essential Training with Kevin Skoglund from Lynda.com
hello people, i m new to rails and i m thinking of buying Ruby on Rails 3 Essential Training with Kevin Skoglund tutorial http://www.lynda.com/Ruby-on-Rails-3-tutorials/essential-training/55960-2.html but problem is the tutorial is created on 2010 oct => so its 2 yrs old so my question it is fine to Buy these Tutorial in the changing rails world? Please Help me -- You received this
2008 Jun 12
11
auto_complete with multiple params
I''m using the auto_complete plugin, and it works great, my problem is i need to pass multiple parameters to the controller other that what is typed in the text field. <%= text_field_with_auto_complete :search, :contains, :size => 15, :frequency => 0.1, :skip_style => true -%> This is what i have as of now, but i also need to pass ":language => @default"
2008 Dec 28
7
2.2.2 simple_captcha upgrade error
So thanks to Craig, i got up and running on rails 2.2.2, though now i''m dealing with a whole new can of worms. I''ve done a good bit o searching and haven''t found any solid leads. I''m using the simple_captcha plugin on my site, and all is well until i call that plugin. http://www.pastie.org/347721 ActionView::TemplateError (undefined method
2013 Jan 25
9
Object#tap_if and Object#tap_unless
I originally brought this up in: https://github.com/rails/rails/issues/9067 Rails paved the way for Object#tap and Object#try...I''d like to propose Object#tap_if and its counterpart,Object#tap_unless. I''ve been following 37signals conventions of tapping variables in the views: <% account.owner.tap do |user| %> ... <% end %> But, I find myself having to do this
2009 Jan 31
9
Maxima and Ruby Integration
I''m looking to write a javascript heavy clientside program with a something serverside backend that connects to the free maxima math program. I have extensive knowledge of ruby on rails, so I would prefer to call Maxima with ruby, but I don''t know if this is even possible. Its fairly easy to call Maxima (with a lisp implementation) using ANSI C, it is a little less easy to
2009 Apr 01
3
make a <tr>clickable
I would like to make an entire table row clickable so the user will be directed to another url. If i was using hand written javascript i would just add an onclick to the <tr>, but i want to use rails routes and to be able to pass in parameters from ruby. What is the best way to accomplish this? <tr onclick = <%= link_to my_route_path %> > <td>content</td></tr>
2012 Jun 26
2
Error with rake command
I am using Rails 2.3.8 application and when I enter rake command it gives following error : ms@ms-HP:~/OpenStreetView$ rake WARNING: ''require ''rake/rdoctask'''' is deprecated. Please use ''require ''rdoc/task'' (in RDoc 2.4.2+)'' instead. at /home/ms/.rvm/gems/ruby-1.9.3-p194@global/gems/rake-0.9.2.2/lib/rake/rdoctask.rb rake
2011 Jun 12
1
Rome Total War: Mouse bug
Game: Rome Total War (Gold Version) Wine: 1.3.21 System: Gentoo ~x86 mouse works fine in the menus but in the main game you can't move the mouse: only mouse buttons work.
2008 Oct 28
3
Backwards N+1 problem
Hey, i’m running into an N+1 problem, but i don''t exactly know how to :include in this situation. (controller code is at the bottom). I''m trying to find all of the highest ranked definitions, and then render their associated phrases. A Phrase has many definitions. A Definition has many children I already have all the info i need stored in @definitions, so this should only
2012 Sep 05
4
Suggestion: render filters
Will not be useful functionality similar https://github.com/shell/rails3_before_render ? Something like ActionController filters but not before action. Filters before render. See also http://www.perfectline.ee/blog/ruby-on-rails-before-render-filter, http://penkin.co.uk/rails3_before_render-plugin/. And don''t you know gem for this? Thanks. -- You received this message because you
2008 Dec 02
2
Does a method string.to_class exist?
I have A Definition model, is it possible to do something like this in Rails 2.1.0, Ruby 1.8.6 : foo = "Definition" @definition = foo.to_class.find(:all) -- 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,
2008 Jul 07
1
link_to_remote multiple :with =>
i have a link to remote and i need to pass two values provided by select boxes to it, a language, and a page count (hits per page to be paginated) how do i get the code below to send both arguments?? <%= link_to_remote "#{element}", :update => "a_z_replace", :loading => "Element.show(''a_z_indicator'')", :loaded =>
2008 Dec 02
1
form_for with partial using do |@f|
Is it possible to pass this FormBuilder object to a controller and then back to a partial? I have a form rendering a partial that i would like to update with a call to my controller based on user selectable parameters, but when the AJAX comes back, i get this error message because i cannot pass a form builder object between the controller and the view: "undefined method
2013 Feb 28
1
Validation Failed: Userkey has already been taken, Email has already been taken
Hi, I am using Factory girl with rspec and capybara for testing my rails appliction. I have the below code FactoryGirl.define do factory :user do |f| f.email "sss1 at gmail.com" f.userkey "12ssd345q62" end end When I run the test it is failing as "Validation Failed: Userkey has already been taken, Email has already been taken". What could be the reason for
2012 Jul 10
2
How to create user with using puppet?
Hi Guys, I am new to puppet world, Guys I want create a user with password, with affect all mentioned hosts, how to do it, please guide me guys. -Ganesh, Did I learn something today? If not, I wasted it. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe
2012 Jul 16
1
config.force_ssl :unless => :tor_hidden_service
Not sure where to patch this, but: config.force_ssl should be inactive for tor hidden services (for those, ssl can if anything be worse). Any suggestions? One way to do it would be to check for whether the TLD is .onion. There may be some gotchas with e.g. cookies or similar bits, for sites that operate both as HTTPS and Tor hidden service (which is what I''m trying to set up). - Sai