On Sat, Dec 10, 2011 at 3:56 AM, skrite wrote:
> I am intrigued by this solution, Jim.
> i have a couple of questions, as it seems this is a cleaner way than
> what I am trying to do.
> The values that determine the circle color are in the database, and
> can change while the page is loaded. This
It can be a problem... but I don't think so in this case. According to
their gemspec, they are comparable. Notice that except for dependency
on railties, which you are most likely including in your own project
anyway, the rest in Kaminari are for the development environment.
If ever I can't decide
Take a look:
https://github.com/nbudin/devise_cas_authenticatable
On Thu, Dec 8, 2011 at 2:43 PM, Dan King wrote:
> Anyone know how to combine Devise with RubyCAS client to authenticate
> against a Jasig CAS server? Thanks.
>
> -Dan
>
> --
> Posted via http://www.ruby-forum.com/.
>
> --
> You r
Hi,
I'm having a lot of difficulties integrating WP and Rails sessions.
Basically what I need is when a user sign in on my Rails application, he
must be automatically logged on WP blog and vice-versa.
I've tried Single Sign-on solutions like CAS but it didn't worked. I'm
using Rails 3.1 and devis
On Fri, Dec 9, 2011 at 11:42 AM, byrnejb wrote:
> Re: MicroSoft Windows, Ruby, and Ruby on Rails (RoR)
>
> I formerly did a lot of offline development in Rails on a Windows
> XPpro system. I started out using pre-packaged native MS-Win binaries
Just cleansing myself from a few months of RoR on W
On Dec 9, 11:48 pm, Geo Manickam wrote:
> Need help for uploading a public key for a new EC2 (AMI) user to tmp
> folder. Any help on this appreciated.
>
> Follow the stepshttp://aws.amazon.com/articles/1233i.e not able to
> pass this step "Copy all the public key files that you generated to a
>
Need help for uploading a public key for a new EC2 (AMI) user to tmp
folder. Any help on this appreciated.
Follow the steps http://aws.amazon.com/articles/1233 i.e not able to
pass this step "Copy all the public key files that you generated to a
temporary place on your instance:"
Steps:
1. SSH i
Hello,
I'm having some problems when try to install rjb i get this message
C:\Users\PC1090\Documents\RJB\rjb-1.3.8>ruby setup.rb config
---> bin
<--- bin
---> lib
<--- lib
---> ext
C:/Ruby187/Ruby1.8.7/bin/ruby
"C:/Users/PC1090/Documents/RJB/rjb-1.3.8/ext/extconf.rb"
checking for jni.h... no
***
On Fri, Dec 9, 2011 at 6:15 PM, IAmNan wrote:
>
> If you didn't know this already, you can see an aggregate of how many
> people are using one or the other and spot trends in the code
> maintenance at ruby-toolbox.
>
> https://www.ruby-toolbox.com/categories/pagination
>
>
What struck me here is
This is resolved in rails 3.1.3. At least i tried and request.remote_ip
was stored correctly without need to enforce utf-8 encoding.
--
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 t
On 9 December 2011 20:58, Tim wrote:
> Hi,
>
> I am wondering if it is possible to change the ruby version that rails
> is using on startup and not use the version that is set in the PATH of
> the application. For example say the server has the path set to "/
> ruby1" and I want to use "/ruby2" ca
sudo rvm get head
Original installed RVM version:
rvm 1.10.0-pre by Wayne E. Seguin (wayneeseg...@gmail.com) [https://
rvm.beginrescueend.com/]
remote: Counting objects: 340, done.remote: Compressing objects: 100%
(277/277), done.remote: Total 340 (delta 25), reused 193 (delta
20)Receiving objects:
Hi,
I am wondering if it is possible to change the ruby version that rails
is using on startup and not use the version that is set in the PATH of
the application. For example say the server has the path set to "/
ruby1" and I want to use "/ruby2" can I set that in the rails
application itself inst
I am intrigued by this solution, Jim.
i have a couple of questions, as it seems this is a cleaner way than
what I am trying to do.
The values that determine the circle color are in the database, and
can change while the page is loaded. This is why i need them to
update.
So, somehow i still need to
On Dec 9, 2011, at 2:28 PM, Fresh Mix wrote:
> Two tables:
> Users (id, username)
> Books (id, name, user_id)
>
> User has_many :books
> and
> Book belongs_to :user
>
> How can I order Books by username?
>
> @books = Book.all.order(user.username)
@books = Book.includes(:user).order('user
Two tables:
Users (id, username)
Books (id, name, user_id)
User has_many :books
and
Book belongs_to :user
How can I order Books by username?
@books = Book.all.order(user.username)
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Go
I would try
rvm get head
that will update RVM to the latest. Then
rvm install 1.9.2
I know you have it installed, but do it again to get the latest version. Then:
git update --system
Then
gem install cassandra
And then read, parse, and act on the results of that last command. If it says
Hi all,
I need to do POST/PUT operation using httparty.
I have a default class as follows
require 'httparty'
class Webclient
include HTTParty
def intialize(options = {})
# parameters to build the url
end
end
with the help of httparty,
i can easily use get operation as follows
Webclien
On Dec 9, 2:22 pm, YUJIN CHOI wrote:
> <%= @students.inspect do |student| %>
that inspect won't do any good. You probably meant each
I have a feeling that your form is a bit messed up too - if (like your
case) your form isn't bound to an active model object then use
select_tag rather than trying
Assuming you're just using ActiveRecord, it depends what fits your
implementation preference better. I've used will_paginate much more,
it's solid and well vetted and I'm familiar with it. Sometimes I'll
implement my own pagination though, which isn't hard.
RyanB does a little comparison at the en
Re: MicroSoft Windows, Ruby, and Ruby on Rails (RoR)
I formerly did a lot of offline development in Rails on a Windows
XPpro system. I started out using pre-packaged native MS-Win binaries
but eventually ran into a situation where the available Windows
package simply did not work following a Micr
On Thu, Dec 8, 2011 at 9:36 PM, yaswanth k wrote:
> How To deploy Rails 3 Application In Glass Fish Server?
There is no longer official support for JRuby on GF, but you can try
using JRuby and warbler gem (to create a WAR file).
Good luck,
--
Hassan Schroeder hassan.sc
On 9 December 2011 14:22, YUJIN CHOI wrote:
> Hi, I'm beginner of Rails in Korea.
> I have a serious problem..
>
> I wanna show the list of students filtered by options.
>
> If I selected H1(high school 1), male, and English,
> I wanna get the list of students who are H1, male, subject English.
>
On Dec 8, 2011, at 9:21 PM, Mark Boughter wrote:
> Yeah, I googled it and came across that link before posting. I thought that
> would be obvious.
> Gemfile and bundle install but it fails at "therubyracer"
>
> It seems that after giving up and rebooting the next day the problem was
> allevi
Hi, I'm beginner of Rails in Korea.
I have a serious problem..
I wanna show the list of students filtered by options.
If I selected H1(high school 1), male, and English,
I wanna get the list of students who are H1, male, subject English.
But.. I couldn't..
"/search/result" screen just show 'nil'
On Fri, Dec 9, 2011 at 11:04 PM, skrite wrote:
> Hey, thanks for these links, very helpful.
> -sk
>
> On Dec 8, 7:49 pm, "L.Karthikeyan" wrote:
> > Hi,
> >
> > For this you need to use rjs Ajax request. Please refer the
> > following links, you will get an idea.
> >
> > 1.http://railscasts
Hi Krisnaraj,
On Fri, Dec 9, 2011 at 4:05 AM, Krishnaraj KR
wrote:
> When we return JSON output using 'render :json =>@profiles', the
> output will return the required results with a 406 error. How can
> avoid that 406 Not Acceptable error ?
This bit me yesterday. You've told rails that you're
On 9 December 2011 14:03, Tim Shaffer wrote:
> I've used both, but prefer kaminari.
>
> I like kaminari's concept of scopes and using views rather than the method
> will_paginate uses.
I've used both.
In will_paginate I often use the helper "page_entries_info" but I
don't find it in kaminari.
--
Hey, thanks for these links, very helpful.
-sk
On Dec 8, 7:49 pm, "L.Karthikeyan" wrote:
> Hi,
>
> For this you need to use rjs Ajax request. Please refer the
> following links, you will get an idea.
>
> 1.http://railscasts.com/episodes/43-ajax-with-rjs?autoplay=true,
> 2.http://railscasts.
On Fri, Dec 9, 2011 at 12:14 PM, Alec Taylor wrote:
> I am thinking to build my own like system, as a way of learning
> various technologies including Javascript; and to gain a better
> understanding of authentication and XSS. Most importantly though, this
> will provide a fun project with which
I am thinking to build my own like system, as a way of learning
various technologies including Javascript; and to gain a better
understanding of authentication and XSS. Most importantly though, this
will provide a fun project with which to learn Ruby on Rails.
Use-case:
1.Unique ID generated a
On Dec 8, 11:01 pm, IAmNan wrote:
> I've been neglecting these errors for a weeks because I don't know
> what's going on. My environment is rspec, capybara and factory_girl
> under Rails 3.1.3 and Ruby 1.9.2. I'm also using spork and guard but
> this happens without them.
>
> The mailer tests ar
"report_listing_path will return the path to whatever route you have
defined as "report_listing"
You can run "rake routes" from the command line to see which routes you
have configured in your application.
--
You received this message because you are subscribed to the Google Groups "Ruby
on R
I've used both, but prefer kaminari.
I like kaminari's concept of scopes and using views rather than the method
will_paginate uses.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To view this discussion on the web visit
https://groups
hi colin,
i am new to ROR ,i know how to install the missing gem.I think you are
not getting me clearly
i want to install plugin for "render_component" it is not a gem,i can
find that from below link
"http://dothingssimple.wordpress.com/2009/08/07/hello-world/";
also i am using Windows
On 8 December 2011 23:39, Philipp
wrote:
> Hey guys,
>
> I just started using Rails and Ruby this week. I come from PHP and I
> LOVE RAILS. It is so clean and fresh :-)
>
> I wanted to create a very simple that has no database
> representation ... I found several active_form approaches. My problem
On 9 December 2011 10:15, sachin kewale wrote:
> that previous problem is not coming now.I have application developed in old
> ruby and rails version so switching it directly
> to 3.x.x version first i make it workable on 2.3.11 version then switched
> further to 3.x.x version.
> Now "render_com
will_paginate or kaminari?
--
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
rubyonrails-talk+unsubscr...@googlegroups.co
hi all,
I have a application that it use view/layout/main.rhtml, in
this file I have:
<%= render_component :controller => 'car', :action =>'index'%>
But there is one problem, it display this problem: undefined method
`render_component' for #
How can I resolve this problem?
Regards
Sachin S. K
I recently started learning Rails and I'm sorry for my English (I live
in Moscow) =)
The Russian Rails Group of developers to me no one could help ...
Initialy, I installed Ubuntu 11.10, then updated apt-get.
Next, install the RVM and Ruby.
Cassandra has installed the following instructions:
htt
Hi,
For this you need to use rjs Ajax request. Please refer the
following links, you will get an idea.
1. http://railscasts.com/episodes/43-ajax-with-rjs?autoplay=true,
2. http://railscasts.com/episodes/229-polling-for-changes?autoplay=true
On Thu, Dec 8, 2011 at 1:10 AM, skrite wrote:
>
When we return JSON output using 'render :json =>@profiles', the
output will return the required results with a 406 error. How can
avoid that 406 Not Acceptable error ?
Function
-
def import
#json= params[:data]
@details = JSON.parse(json)
@profiles = Profile.where(@details
Hi,
How To deploy Rails 3 Application In Glass Fish Server?
Can any one help me out.
Thanks in advance
Regards,
Yaswanth
**
--
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@googlegro
Hey guys,
I just started using Rails and Ruby this week. I come from PHP and I
LOVE RAILS. It is so clean and fresh :-)
I wanted to create a very simple that has no database
representation ... I found several active_form approaches. My problem
is to use those classes after installing them, maybe
On Dec 9, 6:07 am, "kahou l." wrote:
> Hi,
> If I want to extend this class from this event class, say a Party class:
>
> // party.rb
> class Party < Event
> end
>
> and it has 1 properties in its own party table.
>
> My question is that is there a way in Rails so that I can carry those 3
> prope
that previous problem is not coming now.I have application developed in
old ruby and rails version so switching it directly
to 3.x.x version first i make it workable on 2.3.11 version then switched
further to 3.x.x version.
Now "render_component" is used to render component.I am using for renderi
On 9 December 2011 09:53, sachin kewale wrote:
> hi ,
> can you know how to install "render_component" ?
Is this a continuation of your previous problem? If not then it would
have been better to reply here describing the solution and then start
a new thread.
What is render_component? If it is
hi ,
can you know how to install "render_component" ?
for Rail version 2.3.11
and ruby :1.6.2 and ruby :1.8.7
Regards
Sachin S. Kewale
On Fri, Dec 9, 2011 at 2:44 PM, Colin Law wrote:
> On 9 December 2011 05:38, sachin kewale wrote:
> > hi all,
> > i am using following version for Ruby ,Rail
On 9 December 2011 07:26, Vivek Dwarakacharla wrote:
> I am doing one application for that i implement chat thing using
> maccman-juggernaut-0.5.9 here when i was run the juggernaut -c
> juggernaut.yml i get one error "syntax error, unexpected ':', expecting
> keyword_then or ',' or ';' or '\n' (
On 9 December 2011 05:38, sachin kewale wrote:
> hi all,
> i am using following version for Ruby ,Rails and gem:
> Ruby :1.8.7
> rails :2.3.11
> gem :1.6.2
Which Operating System (Ubuntu, Windows 7 etc)?
>
> server started ,on opening in browser it shows the following error:
> W
On 8 December 2011 22:37, stephen d. wrote:
>
> I must say though, that I'm pretty jaded/bitter about rails. Three long
> days to get "hello world" with MySQL (the most mainstream DB in the
> world) working??? Rails you get an F.
I feel I have to point out that the issues appear mostly to do wi
51 matches
Mail list logo