Displaying 20 results from an estimated 23 matches for "al2o3cr".
Did you mean:
al2o3
2011 Mar 07
2
One Mailer for all
Can I have one mailer for all? Would that be called
application_mailer.rb
--
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, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
2012 Sep 07
2
The bundled mysql.rb driver has been removed from Rails 2.2.
!!! The bundled mysql.rb driver has been removed from Rails 2.2. Please
install the mysql gem and try again: gem install mysql.
rake aborted!
no such file to load -- mysql
i got this error while creating the db.do respond if someone knows about
it.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2011 Mar 24
2
Occurrs in IE <!--[endif]-->
Hi all,
Here i have a problem with IE. My page having rightsidebar having
some contents.I displayed the contents by copying from word using condition
like this.
<!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View>
<w:Zoom>0</w:Zoom> <w:PunctuationKerning /> <w:ValidateAgainstSchemas />
2009 Dec 01
12
Rails 2.3.5 - Cannot install plugin
I''m always get the message "Plugin not found: ["git://github.com/
aaronchi/jrails.git"]" when trying to install a rails plugin, even for
SVN or GIT. After google search, some people suggest that replace
"git://" with "http://" and add "/" at the end of the url. I tried and
it still does not work.
I used the ruby 1.9.1-p243 and rails
2012 Aug 31
3
Feature Request: Auto-infer .includes from .where with ActiveRecord queries
In the following snippet, can''t the includes being inferred from the where
clause?
Order.includes(:items).where(:items => { :category => [1,2,3] })
Can''t the includes be inferred from the where clause?
Order.where(:items => { :category => [1,2,3] })
Would this conflict with any existing usages of the where clause and
hashes?
--
You received this
2012 Jun 08
6
Play! 2.0 (Scala) or RubyOnRail (Ruby)?
Hi ruby community,
It has been months after much experimenting RubyOnRail but it wasn''t
chosen for my Enterprise
project. Recently, I heard some of my friends argue that RubyOnRail is
Enterprise-class framework
which perform much better than PHP. IMHO, I think Play! 2.0 (Scala)
can offer more than just a
framework and high-performance.
What are your thought on these comparison?
--
You
2010 Apr 06
2
Authenticating against ActiveDirectory - can't read userPassword/unicodePwd?
Hello list,
So, the application I am working on right now needs to have LDAP
authentication build in, meaning that if the user enabled it, we will query
about his basic data (email,pwd) on a user-setup LDAP directory. It used to
work fine when I was testing with OpenLDAP. The code, essentially, is this:
connection.bind(self.bind_dn,self.password)
2009 Mar 05
6
About before_* callbacks
Hi
I have an problem about before_* callbacks.
I have a model named: Event
And I don''t want anyone to destroy or update any records in Event
model.
So:
[code]
class ActiveRecord::Base
before_destroy :log_illegal_operations
before_update :log_illegal_operations
private
def log_illegal_operations
Event.create({:key => "illegal operation", :value =>
2012 Jul 24
4
Behavior of first_or_create
I just ran across a weird glitch (IMHO) in find_or_create. The arguments passed to it are *not* added to the conditions for the ''first'' part. This is odd, given that it''s intended to replace find_or_create_by_* methods, which *did* use the specified values as conditions.
I''m unsure on whether this behavior is entirely undesirable, but it''s definitely
2009 Oct 14
6
Reinstantiate controller during functional testing
... ok, I may be going about this the wrong way, or perhaps, a less
efficient way than is optimal, but I would like to test a little bit
of AJAX on one of my web pages. When I test this by hand, I bring up
the page which shows a select box, I select an item from the drop down
list, see another select box show up, go back to the first select box,
select a different item, and see something
2011 Oct 23
7
taking oDesk test
Hi! Maybe, you know thing such as odesk tests. Here will be place we
discuss about some questions of them. I can''t understand what they want.
(Rails 3)
1.Screenshot-3.png. What is answer? I think d, but I can''t find
Net::HTTP.open function in API.
2. Screenshot-5.png. I can''t understand what they want from me. I work
only with RSpec
3. Screenshot-6.png. I start to
2012 Jan 15
2
DEPRECATION WARNING: Passing a template handler in the template name is deprecated. (rspec + haml)
I upgraded a small project that I had created on 3.1.3 to 3.2.0.rc2.
Running rspec on it brings about a large amount of these messages:
DEPRECATION WARNING: Passing a template handler in the template name is
deprecated. You can simply remove the handler name or pass render :handlers
=> [:haml] instead. (called from block (2 levels) in <top (required)> at
2012 Nov 14
8
right click or Context Menu in ruby without javascript
Hi,
This query is a replica of the link
http://railsforum.com/viewtopic.php?id=51231.
As I was unable to get any replies from the rails forum, I am posting
the same here.
I have developed an app using Rails 3. I have a table made to look
like a calendar. I wanted to know if there were any methods or gems to
acheive right click(context menu) action on the dates WITHOUT
javascripts or
2009 Apr 21
11
can we decrypt the cipher encrypted using Digest::SHA1.hexdigest
what i have done is as follows
password = Digest::SHA1.hexdigest("#{salt}:#{password}")
pass1 = Digest::SHA1.hexdigest("#{salt}:asdfgh")
pass2 = Digest::SHA1.hexdigest("#{salt}:asdfgh")
pass3 = Digest::SHA1.hexdigest("#{salt}:qwerty")
puts pass1==pass2
puts pass1==pass3
This works fine
but i need to get the decrypted password
how can i get it
any help is
2011 Nov 24
5
ActiveRecord::AssociationTypeMismatch
Hi to all,
I have this error and I don''t understand why. I have three model,
Image and Playlist and PlaylistItem. Everything works fine. The app
should work also a XML REST service. When I made this call I obtain
this XML because the playlist don''t contains images:
GET http://0.0.0.0:3000/playlists/7.xml
<playlist>
<id>7</id>
2013 Nov 14
6
validates :boolean_field, presence: true misconceptions
Last night a friend of mine started ranting about validates_presence_of
:boolean_field returning not valid when the boolean field is false.
I checked the rails issues and this seems to be a pretty common concern
about the naming of ''presence'' .
Instead of changing the behaviour of the presence validator, I was
wondering if maybe the answer to avoid such misconceptions could be
2012 Jul 19
20
Rails' inflections are messy
Yesterday, I opened a GitHub Issue<https://github.com/rails/rails/pull/7071> about
moving Rails inflections to an initializer. The idea wasn''t received well,
understandably, as generating a large initializer with new Rails apps is
pretty unappealing. However, the core members seemed open to the discussion
of alternatives continuing here.
For those of you not in the know,
2010 Jan 25
15
database design question: building features
I am trying to decide between two different database architectures for
an application to manage properties. For capturing the property
features, I have two options: a single model/table with all the features
as fields, or a set of joined models - property, feature, feature data.
(see attached ERD diagram)
OPTION A
Properties
name
address
has_pool
has_doorman
has_etc. (a bunch of values, not all
2012 Jun 04
13
Nested Resource Route Helpers
Hello all,
I''m working on a Rails app and I have resources nested three deep - let''s
call them user, project, and issues. The route helpers now look like
user_project_issue_path(@user, @project, @issue). Would it make sense for
Rails to guess the @user <https://github.com/user> and @project<https://github.com/project> relations
from @issue
2013 Jan 20
20
ActiveRecord::Persistence.increment! requires a row lock to ensure isolated updates
The method is here:
https://github.com/rails/rails/blob/master/activerecord/lib/active_record/persistence.rb#L288.
The method takes the in-memory attribute value and increments it by the
specified amount. A safer approach (from an isolation standpoint) would be
to let the database determine the value. Instead of telling the database
what value to persist in the database, the SQL can written