Displaying 5 results from an estimated 5 matches for "not_valid".
Did you mean:
dpt_valid
2012 May 14
1
undefined method `parse' for String:Class
...OURCES:
- http://rubygems.org/
''gem list rails'' give me :
rails (3.1.3, 2.3.4)
the file add_admin.rake :
namespace :mailserv do
def ask_passwords
pass1 = ask("Password: ") do |q|
q.echo = "*"
q.validate = /^.{6,31}$/
q.responses[:not_valid] = "Please use a stronger password (min 6
characters)"
end
pass2 = ask("Password Confirm: ") {|q| q.echo = "*" }
while pass1 != pass2
say "\nPasswords don''t match"
pass1 = ask("Password: ") do |q|
q.echo =...
2009 Oct 01
9
Strange problem with "and" - "&&"
Hello
I have a strange problem with this code:
<%unless (@students.empty? and params[:commit].nil?) %>
<%="test"%>
<%= render :partial => ''results'' %>
<% end %>
Even though in some cases @students.empty? returns false and params
[:commit].nil? returns true (or the opposite), it displays the test
and the render area.
I put before and
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...(struct hotplug_slot *hotplug_slot)
} else if (state == EMPTY) {
slot->state = EMPTY;
} else {
- err("%s: slot[%s] is in invalid state\n", __func__, slot->name);
+ pr_err("%s: slot[%s] is in invalid state\n",
+ __func__, slot->name);
slot->state = NOT_VALID;
return -EINVAL;
}
diff --git a/drivers/pci/hotplug/rpaphp_pci.c b/drivers/pci/hotplug/rpaphp_pci.c
index 513e1e2..5ecf40e 100644
--- a/drivers/pci/hotplug/rpaphp_pci.c
+++ b/drivers/pci/hotplug/rpaphp_pci.c
@@ -22,6 +22,9 @@
* Send feedback to <lxie at us.ibm.com>
*
*/
+
+#define...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...(struct hotplug_slot *hotplug_slot)
} else if (state == EMPTY) {
slot->state = EMPTY;
} else {
- err("%s: slot[%s] is in invalid state\n", __func__, slot->name);
+ pr_err("%s: slot[%s] is in invalid state\n",
+ __func__, slot->name);
slot->state = NOT_VALID;
return -EINVAL;
}
diff --git a/drivers/pci/hotplug/rpaphp_pci.c b/drivers/pci/hotplug/rpaphp_pci.c
index 513e1e2..5ecf40e 100644
--- a/drivers/pci/hotplug/rpaphp_pci.c
+++ b/drivers/pci/hotplug/rpaphp_pci.c
@@ -22,6 +22,9 @@
* Send feedback to <lxie at us.ibm.com>
*
*/
+
+#define...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...(struct hotplug_slot *hotplug_slot)
} else if (state == EMPTY) {
slot->state = EMPTY;
} else {
- err("%s: slot[%s] is in invalid state\n", __func__, slot->name);
+ pr_err("%s: slot[%s] is in invalid state\n",
+ __func__, slot->name);
slot->state = NOT_VALID;
return -EINVAL;
}
diff --git a/drivers/pci/hotplug/rpaphp_pci.c b/drivers/pci/hotplug/rpaphp_pci.c
index 513e1e2..5ecf40e 100644
--- a/drivers/pci/hotplug/rpaphp_pci.c
+++ b/drivers/pci/hotplug/rpaphp_pci.c
@@ -22,6 +22,9 @@
* Send feedback to <lxie at us.ibm.com>
*
*/
+
+#define...