I'm migrating from rails 4.2.rc2 to rails 4.2.
If I use sass-rails 5.x, I would get the issue.
Now I'm using sass-rails 4.x instead.
在 2014年12月23日星期二UTC+8下午3时29分39秒,Vivek Sampara写道:
Also your sprockets version.
On Tue, Dec 23, 2014 at 12:58 PM, Vivek Sampara ravens...@gmail.com
Okay, I give up tracking this issue by myself.
sprockets (2.11.0)
hike (~ 1.2)
multi_json (~ 1.0)
rack (~ 1.0)
tilt (~ 1.1, != 1.3.0)
sprockets-rails (2.2.2)
actionpack (= 3.0)
activesupport (= 3.0)
sprockets (= 2.8, 4.0)
在 2014年12月23日星期二UTC+8下午3时29分39秒,Vivek Sampara写道:
Also
%= stylesheet_link_tag 'application', media: 'all',
'data-turbolinks-track' = false %
There seems to be no problem in my code but I do not know why
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To unsubscribe from this group and
Hi,
Which version of rails are you using ?
On Tue, Dec 23, 2014 at 11:18 AM, Cat Wild wildcat.n...@gmail.com wrote:
%= stylesheet_link_tag 'application', media: 'all',
'data-turbolinks-track' = false %
There seems to be no problem in my code but I do not know why
--
You received
Also your sprockets version.
On Tue, Dec 23, 2014 at 12:58 PM, Vivek Sampara ravensnowb...@gmail.com
wrote:
Hi,
Which version of rails are you using ?
On Tue, Dec 23, 2014 at 11:18 AM, Cat Wild wildcat.n...@gmail.com wrote:
%= stylesheet_link_tag 'application', media: 'all',
Here is the scenario
Scenario: Successful login
Given an unauthenticated visitor
When visitor goes to /users/login
And fills in Email with: amitpandya
And fills in Password with: amitpandya
And clicks the Login button
Then amitpandya should be logged in
And page
wrong number of arguments (3 for 2) I am getting this error for the
following lines. I have moved to Rails 3.2.6 and am facing this problem
here. It worked in Rails 2.3.5
config.nested.add_link( 'Procs', [:historical_testprocedures], :action
= 'editprocedures', :controller = 'Testruns' )
On 1 August 2012 12:02, deal bitte li...@ruby-forum.com wrote:
wrong number of arguments (3 for 2) I am getting this error for the
following lines. I have moved to Rails 3.2.6 and am facing this problem
here. It worked in Rails 2.3.5
config.nested.add_link( 'Procs',
Try this:
https://gist.github.com/1133491
On Mon, Aug 8, 2011 at 10:36 PM, praveen k. li...@ruby-forum.com wrote:
Hi,
please can anyone help me with this codewhen i am executing the
following code, i am getting the error.
code:
@animals=Bird.find(:all,:conditions =['state like?', '%'
On 9 August 2011 06:36, praveen k. li...@ruby-forum.com wrote:
Hi,
please can anyone help me with this codewhen i am executing the
following code, i am getting the error.
code:
@animals=Bird.find(:all,:conditions =['state like?', '%' +
params[:number]+'%'])
Hi,
please can anyone help me with this codewhen i am executing the
following code, i am getting the error.
code:
@animals=Bird.find(:all,:conditions =['state like?', '%' +
params[:number]+'%'])
@ani=@animals.find(:all,:conditions =['city like?', '%bad%'])
error:
wrong number of
Hey all,
I did a script/generate controler users in console.
Then I added the following to users controller:
class UsersController ApplicationController
def initialize(first_name, last_name)
@first_name = first_name
@last_name = last_name
end
def full_name()
return
if i run rails serve i am fa
C:\forexrails server
= Booting WEBrick
= Rails 3.0.0 application starting in development on
http://0.0.0.0:3000
= Call with -d to detach
= Ctrl-C to shutdown server
Exiting
version of
rails that your author specifies.
HTH,
-Roy
-Original Message-
From: rubyonrails-talk@googlegroups.com
[mailto:rubyonrails-t...@googlegroups.com] On Behalf Of seafront
Sent: Tuesday, February 16, 2010 3:55 AM
To: Ruby on Rails: Talk
Subject: [Rails] wrong number of arguments
I'm reading a book Beginning Ruby on Rails
I made an table, and tried to make an Model class. But it doesn't
work.
I made the table as below.
mysql show columns from books ;
+-+--+--+-+-++
| Field | Type | Null | Key | Default
On 16 February 2010 11:54, seafront seafr...@gmail.com wrote:
I'm reading a book Beginning Ruby on Rails
I made an table, and tried to make an Model class. But it doesn't
work.
I made the table as below.
mysql show columns from books ;
I was creating this simple rail application. my controller method looks
like this:
---
def create()
@simple = Simple.new(params[:simple]) ##params coming from view
@simple.save
end
---
And my model class Simple as below:
---
class Simple ActiveRecord::Base
set_table_name
Hi everyone,
I am running through the RailsSpace tutorial. I'm trying to figure out
the advanced login section, which in short creates a cookie and an
authorization token in the users table in the database.
My trouble is, I'm getting error: Wrong number of arguments (0 for 1)
the code that has
I am creating a multiple-selection list box with :
% form__list1 = [] %
%= select_tag, options_for_select([A,B,C,D], selected =A),
html_options = {size = 5, multiple = true}) %
I get
wrong number of arguments (0 for 1)
alluding to form__list1[] . How else should I specify this to not have
this
Hi,
I hope someone can help me because this is driving me crazy, I've
spent hours trying to track this down. I'm trying to convert a Rails
1.1 to Rails 2.3.2 and I'm getting the following error when trying to
save a many to many relationship. I've double checked all the
associations, I've used
Showing vendor/plugins/community_engine/app/views/users/new.html.haml
where line #40 raised:
wrong number of arguments (3 for 2)
Extracted source (around line #40):
37: %label{for=birthdate}
38: Birthday:
39: %em (Required: you must be at least 13 years old to sign
Hello,
I am new to ruby on rails. When I tried to create a session I am
getting an error, 'wrong number of arguments (1 for 0)', in my
controller.
ArgumentError in CustomerController#add_to_cart
wrong number of arguments (1
I'm going through a tutorial here and running into an error I'm not sure
how to fix..this is my first foire into sessions.
Trying to create a shopping cart for a store app. I'm getting this
error:
wrong number of arguments (1 for 0)
RAILS_ROOT: script/../config/..
Here is my cart_item.rb
I am using Rails 2.0.2 with mysql database
I am getting this error when running a query with Find_by_sql:
wrong number of arguments (0 for 1)
Here are my queries:
@authors = Author.find_by_sql[SELECT * FROM authors WHERE name = ?',
name]
Also
@books = Books.find_by_sql[SELECT * FROM books
I'm new with RoR.
I have a simple migration file:
class CreateClubs ActiveRecord::Migration
def self.up
create_table :clubs do |t|
t.columns :name, :string
t.columns :ref, :string
t.columns :description, :string
t.columns :local, :string
t.timestamps
No one is having this error while using edge rails?
On Sep 11, 12:45 am, Drogomir [EMAIL PROTECTED] wrote:
Hi,
I have strange error onedgerailswhile doing validates_uniqueness_of
or some other validates_* methods.
basically it looks like that:http://pastie.org/269935
it's weird cause
Hi,
I have strange error on edge rails while doing validates_uniqueness_of
or some other validates_* methods.
basically it looks like that:
http://pastie.org/269935
it's weird cause ActiveRecord::Errors#add has 3 arguments defined in
validations.rb...
27 matches
Mail list logo