Ok i've changed the Gem file from rails 3.0.6 to rails 3.0.7, then run
gem clean: it deleted all the older version.
Then I've finally run bundle, and it downloaded some older version gem,
for example mail 2.1.16 (so I've both mail 2.1.17 and 2.1.16). I think
that's not an issue, since my app is
just run 'bundle update rails'.
On Tue, Apr 19, 2011 at 03:49, Manuele Dones manueledo...@gmail.com wrote:
Ok i've changed the Gem file from rails 3.0.6 to rails 3.0.7, then run
gem clean: it deleted all the older version.
Then I've finally run bundle, and it downloaded some older version gem,
Have the following form:
%= simple_form_for @user, :as = :user, :action =
edit_notification do |f| -%
%= f.input :email %
%= f.input :email_alerts %
%= f.input :email_summarize %
%= f.input
so bundle update rails is to update the application from an older to an
earlier version, right?
And then gem clean to remove the older version of the gems.
That's should be the common rule... ;-)
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk
Hi,
I want to use salesforce with my rails3 project. I tried
http://wiki.developerforce.com/index.php/Getting_Started_with_the_Force.com_Toolkit_for_Ruby
documentation. But i am getting so many errors. It is urgent for me
Please reply me if any body knows about this.
Thanks in advance...
I have 20 years experience in software industry with focus in Open
Source Platforms, Frameworks and Tools Development, Web based
development using J2EE and Open Source Platforms,.Net Based Product(s)
Development and Mobile System and Application Development.
Currently I am involved in the
No, there is only the .js.erb file mentioned above.
My public javascripts directory doesn't contain that file.
The thing is that it doesn't always crash, it seems to be very random.
I am so lost as to the cause, but I really need to find a workaround
as it is very annoying trying to get any
Open your /etc/hosts file in Linux. Windows is the same hosts file under
some other directory.
Any how puts the next line in the file
127.0.0.1 example.com
Then if you ping example.com IP 127.0.0.1 will respond.
now you can use example.com:3000 to access your web site.
If you are not happy with
Thanks Bryan. I tried this as well as Using a Fiddler as a proxy. But
I found that the downloads are being blocked based on the content by
the firewall. Generally arbitrary Software Downloads are not permitted
in my company.
Theres a separate department which manages Software Downloads
based
How to know which GDP version is used by ruby-protobuff?
Does it support latest version of GDP?
Thanks,
Renuka
--
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@googlegroups.com.
To
Aha thanks, i knew it would be something silly. The docs do suggest
adding the gemfile.lock
to your repository but based on this evidence thats not a good idea.
I will need to find out how to
manage this when deploying, do you add the production gemfile.lock to
the repo
On Apr 18, 2:50
This warning is still generated in activesupport 3.0.7.
I submitted a bug report here:
http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/6721
Is this the right place?
Alexey.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed
On Tue, Apr 19, 2011 at 12:41 PM, Alexey Muranov li...@ruby-forum.com wrote:
This warning is still generated in activesupport 3.0.7.
I submitted a bug report here:
http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/6721
Is this the right place?
Perfect.
A patch solving
amritpal p. wrote in post #993486:
why should i use mongrel_cluster in my rails application?
What are its benefits for which i should install and configure it
?
is webrick server not enough for rails application?
AFAIK Webrick is only suitable for development, or very low traffic web
On Apr 19, 2011, at 12:45 AM, Matt Harrison wrote:
To me, it seems that if I go in and fiddle with the controller
inside devise,
then I'll end up with my own fork essentially and have to maintain
that as well as my
application.
Does anyone have any insights or tips concerning this?
If
On Mon, Apr 18, 2011 at 1:30 PM, kdwill pushplayme...@hotmail.com wrote:
Here's where this noob gets nailed.
I tried installing the suggested sudo and got command not found. Then
I looked for the brew for mac and I'm just not getting it.
Radhames, thanks for your help and patience. If
Thanks , I'll use this patch ..
On 19 avr, 07:53, Michael Pavling pavl...@gmail.com wrote:
On 18 April 2011 23:09, Erwin yves_duf...@mac.com wrote:
I need to transform strings like Instructor ID or Lovely Ice tree
into sym :instructor_id , :lovely_ice_tree
is there a better and faster
thanks , part of the solution as per Michael's patch
On 19 avr, 00:38, Philip Hallstrom phi...@pjkh.com wrote:
On Apr 18, 2011, at 3:09 PM, Erwin wrote:
I need to transform strings like Instructor ID or Lovely Ice tree
into sym :instructor_id , :lovely_ice_tree
I tried to do the
As it seems like TimeZone has been depreciated (http://apidock.com/
rails/TimeZone). what is the time zone library that should be used?
Should we be using TZinfo?
On Apr 15, 12:44 pm, tashfeen.ekram tashfeen.ek...@gmail.com
wrote:
OK. So, it will always display times on the select menu
On Apr 18, 1:59 pm, Garrett Lancaster glanc...@garrettlancaster.com
wrote:
Hey guys,
Trying to figure out how to do something like the following:
class Child
belongs_to :parent
has_field :some_field, :through = :parent
end
class Parent
has_one :child
On Apr 17, 1:32 pm, Tara Schultz tara.schu...@gmail.com wrote:
I just installed and started using the file_column plugin and am
getting the following error:
No Method Error
undefined method 'relative_url_root' for nil:NilClass
Extracted source (around line #5)
5: %= image_tag
On Apr 19, 4:09 am, Alexander cutal...@gmail.com wrote:
Open your /etc/hosts file in Linux. Windows is the same hosts file under
some other directory.
Any how puts the next line in the file
127.0.0.1 example.com
Then if you ping example.com IP 127.0.0.1 will respond.
now you can use
On Apr 18, 1:14 pm, Colin Law clan...@googlemail.com wrote:
On 18 April 2011 17:46, amrit pal pathak amritpalpath...@gmail.com wrote:
On Apr 18, 12:30 pm, Colin Law clan...@googlemail.com wrote:
On 18 April 2011 17:12, amrit pal pathak amritpalpath...@gmail.com wrote:
On Apr
I think the production enviorment is still not enabled.because i when
i tried
script/generate scaffold person firstname:string lastname:string;
rake db:migrate(it created a table namedpeople in
amritpal database that is used in development envionrment.But in
production
I take that back. It does not seem like it is depreciated as it is in
the latest rails docs...
On Apr 19, 11:05 am, tashfeen.ekram tashfeen.ek...@gmail.com
wrote:
As it seems like TimeZone has been depreciated (http://apidock.com/
rails/TimeZone). what is the time zone library that should be
Bryan Crossland wrote in post #993205:
What is the code for the method find_stations_near?
First, here's the code for find_local_weather_stations(). The create
method raises the error:
def find_local_weather_stations(limit = 10)
premise_weather_stations.delete_all
stations =
On 19 April 2011 17:26, amrit pal pathak amritpalpath...@gmail.com wrote:
I think the production enviorment is still not enabled.because i when
i tried
script/generate scaffold person firstname:string lastname:string;
rake db:migrate(it created a table namedpeople in
Hi,
I've been using the ssl_requirement plugin as it made the most sense
to me from an architecture standpoint, where the controller that is
doing the resource accessing declares where SSL is required or
allowed. This works great in terms of ensure the ~final~ protocol is
correct for that
Okay, I have found a fix, or at least a workaround. If a Rails core
team member is reading this, I'd appreciate knowing if this warrants a
lighthouse ticket.
If I add a .reload (to the AR that is already in the db):
def load_station(candidate)
if (incumbent =
On Mon, Apr 18, 2011 at 1:26 PM, David Kahn d...@structuralartistry.comwrote:
On Mon, Apr 18, 2011 at 1:11 PM, Michael Pavling pavl...@gmail.comwrote:
On 18 April 2011 16:38, David Kahn d...@structuralartistry.com wrote:
Am still perplexed by this output (ruby 1.8.7-p330 on 64bit/Snow
Im trying to makee an application that allows subcomments ie comments on
comments. The point where I get stuck is finding the comment that is
commented on.
This is an excerpt from subcomment.rb
def create
@comment = Comment.find(params[:id])
@comment.subcomments.create( :comment_id =
Am still perplexed by this output (ruby 1.8.7-p330 on 64bit/Snow Leopard):
ruby-1.8.7-p330 :001 DateTime.now
= #DateTime 2011-04-18T10:35:18-05:00
ruby-1.8.7-p330 :002 DateTime.now + 1.day
= #DateTime 2247-11-07T10:35:21-05:00
I wonder if it's something along the lines of the
On Tue, Apr 19, 2011 at 1:08 PM, Philip Hallstrom phi...@pjkh.com wrote:
Am still perplexed by this output (ruby 1.8.7-p330 on 64bit/Snow
Leopard):
ruby-1.8.7-p330 :001 DateTime.now
= #DateTime 2011-04-18T10:35:18-05:00
ruby-1.8.7-p330 :002 DateTime.now + 1.day
= #DateTime
Hello guys,
I am using Devise with rails 3.0.5 and ruby 1.8.7 whenever i am trying
to call a delete action through Ajax devise logged out i don't know
what is the problem ..
i am calling a destroy action using Ajax updater and its logged me
out, one reason i found out by searching is to include
So, if anyone has made it this far, I guess my next question would be as to
how I can confirm whether active support (in particular the file mentioned
above is getting loaded). Actually if Phillip, or someone else (running Ruby
1.8.7-p334 and Rails 3.0.7 ideally on Snow Leopard mac or
On Tue, Apr 19, 2011 at 1:25 PM, Philip Hallstrom phi...@pjkh.com wrote:
So, if anyone has made it this far, I guess my next question would be as to
how I can confirm whether active support (in particular the file mentioned
above is getting loaded). Actually if Phillip, or someone else
What does your model look like? Do you have the appropriate has_many and
belongs_to for the subcomments to work?
In general, you shouldn't need to specify comment_id for the child when you
access it via the has_many relationship.
For example:
@comment = Comment.find(params[:id])
new_comment =
Hello! Im developing my first rails application =) I have such a code in
my routes.rb:
match 'category/:category' = articles#index, :as =
'articles_from_category'
It's obvious that rails will load anything that comes after /articles/,
even a mess route like /articles/dsfjsdfsd. What i want to do
On Tue, Apr 19, 2011 at 1:36 PM, David Kahn d...@structuralartistry.comwrote:
On Tue, Apr 19, 2011 at 1:25 PM, Philip Hallstrom phi...@pjkh.com wrote:
So, if anyone has made it this far, I guess my next question would be as
to how I can confirm whether active support (in particular the
In case anyone is wondering, I've now got a version of rubycas-server
(the sinatra version) running on heroku.
See here - https://github.com/metasoarous/read_only_rubycas_server.
It works a bit differently than the old one, but it does work. In
particular, whereas the old one is both a gem and
Tim Shaffer wrote in post #993815:
What does your model look like? Do you have the appropriate has_many and
belongs_to for the subcomments to work?
In general, you shouldn't need to specify comment_id for the child when
you
access it via the has_many relationship.
@comment =
On Tuesday, April 19, 2011 12:59:29 PM UTC-6, Ruby-Forum.com User wrote:
Hello! Im developing my first rails application =) I have such a code in
my routes.rb:
match 'category/:category' = articles#index, :as =
'articles_from_category'
It's obvious that rails will load anything that comes
Hey all,
This right here:
scope :index_blog, {
:select = blog_posts.*,
:joins = INNER JOIN categories ON category.id =
blog_posts.category_id,
:conditions =blog_posts.enabled = 1
}
returns this:
Mysql2::Error: Not unique table/alias: 'categories': SELECT blog_posts.*
FROM
In application.rb i defined:
config.i18n.default_locale = :ru
But all texts on the site are in English. Typus interface is in
English too and when I delete config/locales/en.yml it prints can not
load translations from /home/kir/rails/tftc/config/locales/en.yml
My server: Apache and Passenger 3.
On 19 April 2011 21:59, John Merlino li...@ruby-forum.com wrote:
Hey all,
This right here:
scope :index_blog, {
:select = blog_posts.*,
:joins = INNER JOIN categories ON category.id =
blog_posts.category_id,
:conditions =blog_posts.enabled = 1
}
returns this:
On Apr 19, 8:39 pm, Neil Bye li...@ruby-forum.com wrote:
Tim Shaffer wrote in post #993815:
Is that correct.
Both of your examples throw up 'Couldn't find Comment without an ID'
sounds to me like params[:id] isn't set.
Fred
Am I missing smething vital
--
Posted
On Apr 19, 9:59 pm, John Merlino li...@ruby-forum.com wrote:
Hey all,
This right here:
scope :index_blog, {
:select = blog_posts.*,
:joins = INNER JOIN categories ON category.id =
blog_posts.category_id,
:conditions =blog_posts.enabled = 1
}
returns this:
On Tuesday, April 19, 2011 2:59:57 PM UTC-6, Ruby-Forum.com User wrote:
Hey all,
This right here:
scope :index_blog, {
:select = blog_posts.*,
:joins = INNER JOIN categories ON category.id =
blog_posts.category_id,
:conditions =blog_posts.enabled = 1
}
First of all,
Hello everybody,
I have a class like this:
class Foos ActiveRecord::Migration
def self.up
create_table :foos,:id = false, do |t|
t.references :table1
t.references :table2
t.timestamps
end
end
def self.down
drop_table :foos
end
end
I would like to add a
Thanks Bryan,
sure this wouldn't be a problem.
But isn't a session connected to the browser in some way.
I think I dont understand the whole session, authenticity, forgery
topic in rails yet.
You think I can login the user once from the Air app and after the
server will accept post requests, or
Hello guys,
I've made a very simple application following the footsteps of
http://guides.rubyonrails.org/getting_started.html.
I managed to insert my objects (i checked the existence of inserted
objects through the rails console with a simple Foo.all ) but if I run
sqlite3 from command line and
Actually, all i wanted to do initially was this:
def filter_scoper(scoper)
logger.info The current class is #{self.class}
#CategoriesController
if params.has_key? :filter
send :#{params[:filter]}_filter_scoper, scoper
elsif self.class.respond_to?(:blog_filter_scoper)
ok I must never forget that in haml it works like this:
- @resources.each do |r|
%h1= r.title
%p= r.body
not this:
= @resources.each do |r|
%h1- r.title
%p- r.body
Otherwise, you will get an ActiveRecord array as an object.
--
Posted via http://www.ruby-forum.com/.
--
You received
On Tue, Apr 19, 2011 at 09:19:11AM -0400, Walter Lee Davis wrote:
On Apr 19, 2011, at 12:45 AM, Matt Harrison wrote:
To me, it seems that if I go in and fiddle with the controller
inside devise,
then I'll end up with my own fork essentially and have to maintain
that as well as my
On Tuesday, April 19, 2011 3:55:52 PM UTC-6, Ruby-Forum.com User wrote:
Actually, all i wanted to do initially was this:
def filter_scoper(scoper)
logger.info The current class is #{self.class}
#CategoriesController
if params.has_key? :filter
send
Frederick Cheung wrote in post #993841:
On Apr 19, 8:39pm, Neil Bye li...@ruby-forum.com wrote:
Tim Shaffer wrote in post #993815:
sounds to me like params[:id] isn't set.
Fred
Not sure what you mean. How would I set params[:id] ?
It works if I use params[:user_id] or [:current_user_id]
After having tried pretty much every solution out there for CTI in AR,
I'm now trying out the native postgres inheritance support. After a
couple of activerecord hacks, I have it mostly working, but am running
into some issues. The main problem seems to come when a child model
is loaded through
It would appear to me that your immediate problem is the line of code I
pointed out above.
Yeah I got it now. Basically:
if self.class.respond_to?
will only respond to class methods of the class, not instance methods
and since attr_accessor returns instance methods, that if will return
This is all with rails 3.0.6 btw
--
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@googlegroups.com.
To unsubscribe from this group, send email to
Ruby on Rails Engineer - RoR - Software Engineer
We are looking for smart, motivated and mobile-savvy software engineers
to help strengthen, scale and evolve our proprietary messaging platform
Desirable Skills
* Ruby on Rails, Rails, Back-end development, PHP, Perl, Ruby, Java,
HTML, AJAX,
On Tue, Apr 19, 2011 at 2:13 PM, David Kahn d...@structuralartistry.comwrote:
On Tue, Apr 19, 2011 at 1:36 PM, David Kahn
d...@structuralartistry.comwrote:
On Tue, Apr 19, 2011 at 1:25 PM, Philip Hallstrom phi...@pjkh.comwrote:
So, if anyone has made it this far, I guess my next
Hello,
I am upgrading my Rails application from Rails 2 to Rails 3 and I'm
having troubles getting routes.rb to work. I get the following error
when I visit my application:
[code]
Routing Error
No route matches /
[/code]
When I run rake routes, the output is blank.
What I have already done:
-
1+ year long Contract or Contract to Hire
Interviews going on NOW !! Apply ASAP !!
Must have 2 years experience on Ruby on Rails development experience –
ideally in customer facing internet web applications.
Understanding of PHP with MVC frameworks is great plus
send response to jobs at
Hello folks,
I´m here trying to find the way to solve my problem.
When i try to run
rake db:create or rake db:create:all
the process stops and the databases are not created.
I change the directives, putting --trace before the rake db:create and
the steps are
C:\appws\cookbookrake db:create
You know the very common Older posts/Show more link at the bottom
of your Facebook news feed? You know, it functions as a way to show
more posts or whatever... it generates more content and allows you to
scroll down more.
I'm kind of surprised there isn't a nice gem that creates that
If I run the app via `rails server` everything is ok...
On Apr 19, 10:20 pm, iEmpire razor@gmail.com wrote:
In application.rb i defined:
config.i18n.default_locale = :ru
But all texts on the site are in English. Typus interface is in
English too and when I delete config/locales/en.yml it
I'm using jruby 1.6.0 and trying to deploy my rails 3 app to Tomcat.
When the app loads I get the error stack level too deep as bundler
is trying to resolve dependencies. I've spent hours searching forums
in an effort to resolve this but there doesn't seem to be a resolution
to this problem. Can
Hi,
I am using Paypal Gateway in Activemerchant and I want to implement credit()
of Paypal Gateway/PaypalExpress Gateway
I want to get Transaction ID after authorization.
How can I get it???
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
68 matches
Mail list logo