On Jul 21, 2013, at 6:06 AM, trekr67 wrote:
> Hi,
>
> I'm a newbie Ruby on Rails developer and have across the following problem:
>
> I've put an image on a page and want to be taken to twitter to be
> authenticated, when the image is clicked however I get the following error
> when I do:
>
I have many questions...
Joe
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send e
Rails 4.0.0, Ruby 2.0
class Title < ...
...
has_many :comments
def self.order_by_number_of_comments_descending
select('titles.*, count(comments.id) AS comments_count').
joins(:comments).
group('titles.id').
order('comment_count DESC')
end
results in a malformed SQL on Po
On Friday, 28 June 2013 02:53:20 UTC+4, Ruby-Forum.com User wrote:
> Hi guys,
>
> I only have Notepad to view this information, so it just looks like a
> long line of text.
>
> Gemfile.lock has the following text:
> sqlite3 (1.3.7-x86-mingw32)
>
I had the same troulbe on Windows7-x64 even I
Hi,
I'm a newbie Ruby on Rails developer and have across the following problem:
I've put an image on a page and want to be taken to twitter to be
authenticated, when the image is clicked however I get the following error
when I do:
ActionController::Routing error (No route matches [GET] "auth/
Hi all,
In my controller I am doing the following to populate a nested form for a
has_many through association:
def new
@specification = Specification.new
Component.find_each.each do |component|
@specification.component_specifications.build(:component_id =>
component.id)
1.So what is that happens on the views?
2.When you try to visit the login path, what happens?
3.Do you have tests for it? where does it fail in the tests?
4.Whats the output on the logs?
5.Have you tried to use something like ruby-debugger to go through the code
and see what happens on the view
For this one particular project, rails is not to logging controller,
action, parameters, complection time, etc in development mode. And I am not
sure why.
When I check in the console the log level I notice:
Rails.logger.level
=> 0
So I am not sure why it doesn't log the information it usuall
Emil S. wrote in post #1116233:
> I use email for login , so I do this in the console/database seed file :
> User.create(email: 't...@test.com', password: 'password123',
> password_confirmation: 'password123')
> Then I log in with the "t...@test.com" and "password123"
Personally speaking, I ge
Devise has a wonderful kickstarter, just take a look into the readme and
follow the steps.
Am 22.07.2013 13:50 schrieb "Tushar Patil" :
> Hi,
>I want to authentication for sign in and sign out, i add gem file and
> create a user model using devise in rails3, i want to create a user for
> first
On Mon, Jul 22, 2013 at 11:39 AM, Robert Walker wrote:
> I generally dislike the practice of using email
> addresses as usernames.
Amen! In addition to the reasons you list, people often have multiple
addresses at once -- I myself have several, not even including the
hundreds of special-purpose
Hi,
I want to authentication for sign in and sign out, i add gem file and
create a user model using devise in rails3, i want to create a user for
first sign in and sign out, how can i create, any suggestion.
--
You received this message because you are subscribed to the Google Groups "Rub
I use email for login , so I do this in the console/database seed file :
User.create(email: 't...@test.com', password: 'password123',
password_confirmation: 'password123')
Then I log in with the "t...@test.com" and "password123"
On 22 July 2013 17:21, Dheeraj Kumar wrote:
> Create a new Use
That's exactly what I'm trying but routes etc. are not working hence
this post :)
--
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 unsubscribe from this group and stop receiving emails from i
What about an approach where you publish both applications as gems?
wouldn't that work? a setup like spree where you have spree_social and
stuff like that?
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group
Create a new User object, then fill in the fields, and call save.
--
Dheeraj Kumar
On Monday 22 July 2013 at 5:19 PM, Tushar Patil wrote:
> Hi,
>I want to authentication for sign in and sign out, i add gem file and
> create a user model using devise in rails3, i want to create a user for
16 matches
Mail list logo